班级组织户外活动,老师要统计带水杯的同学名单。已知学生信息列表为: students = [{"name": "小明", "has_cup": True}, {"name": "小红", "has_cup": False}, {"name": "小刚", "has_cup": True}],正确的推导式是?( )
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析