测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A60628. 班级组织户外活动,老师要统计带水杯的同学名单。已知学生信息列表为:students=[{"name": "小明", "has_cup": True}, {"name": "小红", "has_cup": False}, {"name": "小刚&q…

单选题

题目描述

班级组织户外活动,老师要统计带水杯的同学名单。已知学生信息列表为:

students=[{"name": "小明", "has_cup": True}, {"name": "小红", "has_cup": False}, {"name": "小刚", "has_cup": True}],正确的推导式是?( )

选项(单选)