编程题:根据以下叙述写出正确的条件表达式:有语文(Chinese)、数学(Math)、英语(English)三门课程,均采用百分制,60及以上为及格,90及以上为优秀。
(1)三门课程都及格;
(2)至少一门课程及格;
(3)语文及格且数学或者英语优秀。
if(Chinese >= 60 and Math >= 60 and English>=60):
#第一种情况
elif(Chinese >= 60 or Math >= 60 or English>=60):
#第二种情况
elif(Chinese >= 60 and (Math >= 90 or English >= 90)):
#第三种情况
记得点一下采纳哟
if /elif/else 判断啊。
if(Chinese >= 60 and Math >= 60 and English>=60 ):
对应第种情况