猿问
判断成绩的程序,90分以上,80-90,60-80,60分以下
精慕门757288
浏览 1312
回答 1
1回答
fireflyer
score = 85 if score >= 90: print 'excellent' elif score >= 80: print 'good' elif score >= 60: print 'passed' else: print 'failed'
0
0
0
随时随地看视频
慕课网APP
相关分类
Python
我要回答