用户:元寸ginsins_con_Lee查看:0 回复:1 评论:0 创建时间:2023-04-24T20:19:38
【作品展示】

【作品介绍】
名字和年龄
【作品源代码】
#开始进入Python的世界
a = input('What is your name?')
b = input('How old are you?')
if (b == 1):
print('Hello,my name is Li Guancheng.You are ', a, ' ,you are ', b, ' year old.')
else:
print('Hello,my name is Li Guancheng.You are ', a, ' ,you are ', b, ' years old.')
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn