Python:猜拳游戏(报错+限制局数) 猜拳游戏:识别输入错误重新输入,限制有效进行局数 i=0 while i<3: x =int(input("请输入一个数字:1表示石头,2表示布,0表示剪刀")) if x==1: print