猫史档案馆


【Python作品分享】测试三好学生【作业帖】

用户:害羞的重金怪cRHg害羞的重金怪cRHg查看:0 回复:2 评论:0 创建时间:2020-08-26T21:09:28


【作品展示】

center_image

 

【作品介绍】

666

 

【作品源代码】

# 输入
Input_1 = float(input('请输入你的语文成绩:'))
# 输入
Input_2 = float(input('请输入你的数学成绩:'))
# 输入
Input_3 = float(input('请输入你的英语成绩:'))
# 输入
Input_4 = float(input('请输入你的体育成绩:'))

if (Input_1 > 90 and Input_2 > 90 and Input_3 > 90 and Input_4 > 90):
    print('恭喜你成为三好学生!棒棒哒(๑•̀ㅂ•́)و✧')
elif (Input_1 < 60 and Input_2 < 60 and Input_3 < 60 and Input_4 < 60):
    print('别灰心,下次努力')
else:
    print('再接再厉,争取成为三好学生,加油↖(^ω^)↗')

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 1下一页
爱python的小萌新爱python的小萌新

requests-sofa~~

点赞0


评论


腾讯内部员工腾讯内部员工

三好学生为什么要问体育???

点赞0


评论