用户:
直率的木叶龙f-5I查看:0 回复:0 评论:0 创建时间:2022-11-13T15:30:38
【作品展示】

【作品介绍】
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
【作品源代码】
# Ask the user fortheir name
name=input("What is you name? ")
# Keep printing names until we want to quit
while name != "":
# Print their name 100 times
for x in range(100):
# Print their name followed by a space, not a new line
print(name, end= " ")
print() # After the for loop, skip down to the next lien
#Ask for another name or quit
name = input("Type another name, or just hit [ENTER] to qiut: ")
print("Thanks for playing!")
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn