摘要: 1 def start(): 2 print("我们来复习一下西游记或者水浒传的知识吧。") 3 print("实际上也不是什么难题") 4 print("总之,先写一下你要选哪一本吧。") 5 6 choice = input(">") 7 8 if choice == "西游记": 9 xiyouj... 阅读全文
posted @ 2019-01-04 21:25 yuriya 阅读(163) 评论(0) 推荐(0) 编辑
摘要: from sys import exit def gold_room(): print("This room is full of gold. How much do you take?") #这个房间装满了金币 你要拿多少? choice = input(">>>") if "0" in choice or "1" in choice: h... 阅读全文
posted @ 2019-01-04 16:19 yuriya 阅读(231) 评论(0) 推荐(0) 编辑