用户:是时候展现真正的实力了_加油查看:0 回复:0 评论:0 创建时间:2019-06-28T17:16:27
【作品展示】

【作品介绍】
这是一个最基础的Python作品,主要是如果否则积木的用法。(随便选了张图片)
【作品源代码】
age = int(input('how old are you?'))
if (age == 10):
print('What do you call an unhappy cranberry?')
print('A blueberry!')
if (age == 11):
print('What did the green grape say to the blue grape?')
print('Breathe! Breathe!')
if (age == 12):
print('What did 0 say 8?')
print('Hi guys!')
if (age != 11 and age != 12 and age != 10):
print('Hun?')
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn