猫史档案馆


【Python作品分享】伏拉夫答卷【作品秀】

用户:FluffyPoofFluffyPoof查看:0 回复:2 评论:0 创建时间:2020-07-13T20:26:18


【作品展示】

center_image

 

【作品介绍】

来答题吧!

 

【作品源代码】

print("伏拉夫答题")
points=100
Input=int(input("伏拉夫来到中国时几岁?1.17岁   2.18岁"))
if Input==1:
    points=points+0
else:
    points=points-10
print(points)
Input = int(input("伏拉夫的家在哪里?1.俄罗斯   2.中国"))
if Input == 2:
    points=points+10
else:
    points=points-10
print(points)
Input = int(input("伏拉夫用什么手机?1.华为   2.苹果"))
if Input == 2:
    points=points+10
else:
    points=points-10
print(points)
Input = int(input("伏拉夫会说英文吗?1.会    2.不会"))
if Input == 1:
    points=points+10
else:
    points=points-10
print(points)
Input = int(input("伏拉夫离开过中国吗?1.离开过    2.当然没喵))
if Input == 1:
    points=points+10
else:
    points=points-10
print(points)
Input = int(input("伏拉夫爱吃辣的吗?1.不爱吃    2.爱吃"))
if Input == 2:
    points=points+10
else:
    points=points-10
print(points)
Input = int(input("伏拉夫的老婆叫啥?1.瑞拉    2.薇拉"))
if Input == 1:
    points=points+10
else:
    points=points-10
print(points)
Input = int(input("伏拉夫比瑞拉大几岁?1.27岁    2.25岁"))
if Input == 2:
    points=points+10
else:
    points=points-10
print(points)
if points>=60:
    print(points)
    print("恭喜你及格了,一起喵内脏火锅吧!")
else:
    print(points)
    print("我马上到你家门口")

 

【提示】

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

https://python.codemao.cn


回复

上一页1 页 / 共 1下一页
某科学的七濑胡桃某科学的七濑胡桃

wc,封面吓死了!

我很快到你家门口emotion_doge

点赞0


评论


挖坟专家挖坟专家

介意加try

点赞0


评论