随笔分类 -  Python

猜年龄小游戏(输错3次后询问是否继续)
摘要:count = 0 age = 22 print("<<<现在开始进入猜游戏环节>>>") while True: if count == 3: again_guess_age = input("已经输错3次!!!是否继续玩下去(Y/N)>>>>:").strip() if again_guess_ 阅读全文

posted @ 2020-11-26 14:07 Memory_Python 阅读(295) 评论(0) 推荐(0)

导航