每回合赢3个筹码。当玩家被要求选择一个数量的筹码时,我得到一个错误信息:
Traceback (most recent call last):
File "F:\DOwnloads\okay (1).py", line 56, in <module>
temp = input(int ("there are", chips,"chips. how many chips does player one want to take"))
TypeError: int() takes at most 2 arguments (3 given)
代码如下:
^{pr2}$
当您需要^{时,
int(input("input string"))
更改此行:
为此:
^{pr2}$相关问题 更多 >
编程相关推荐