6.已知选修课学生名单course1={"张三","李四","王五"},course2={"李四","赵六”,"王五”)。要找出同时选修两门课的学生,应使用的推导式是?()
A. {x for x in course1 if x in course2}
B. [x for x in course1 and course2]
C. (x for x in course1 or course2}
D. (x for x in course1 if x not in course2}
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会