猫史档案馆


【Python作品分享】新的作品-4【作品秀】

用户:千从千从查看:0 回复:0 评论:0 创建时间:2020-03-16T14:13:45


【作品展示】

center_image

 

【作品介绍】

你是好学生吗?

 

【作品源代码】

Input_1 = int(input('请输入你的语文成绩:'))
Input_2 = int(input('请输入你的数学成绩:'))
Input_3 = int(input('请输入你的英语成绩:'))

if (Input_1 > 90 and Input_2 > 90 and Input_3 > 90):
    print('恭喜你三好学生')
elif (Input_1 < 60 and Input_2 < 60 and Input_3 < 60):
    print('别灰心,下次努力')
else:
    print('争取成为三好学生')

# if Input_1>90:
#     if Input_2>90:
#         if Input_3>90:
#             print("三好学生")
#         else:
#             print("不符合条件")
#     else:
#         print("不符合条件")
# else:
#     print("不符合条件")

# print(True and True and True)
# print(True and False and True)

# print(  False)
# print(False or False)

# print(False  True)
# print(False or True)
#

# print(True and True)
# print(True and False)

# print(True or False)
# print(False or False)

# print(False and True)
# print(False or True)

# Input_1=int(input("请输入你的语文成绩:"))
# Input_1=int(input("请输入你的数学成绩:"))
# Input_3=int(input("请输入你的英语成绩:"))

# if Input_1>90:
#     if Input_2>90:
#         if Input_3>90:
#             print("三好学生")
#         else:
#             print("不符合条件")
#     else:
#         print("不符合条件")
# else:
#     print("不符合条件")

 

【提示】

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

https://python.codemao.cn


回复

上一页1 页 / 共 0下一页