《笨方法宵夜 Python 3》35.分支和函数

基础练习:  from sys import exit def gold_room(): print("This room is full of gold. How much do you take?///这个房间里满是金子。你要多少钱?") choice = input("> ") if "1" or "0" in choice: how_much = int(choice)
相关文章
相关标签/搜索