这是我的代码,我一直收到错误
TypeError: input expected at most 1 argument, got 2
我该如何解决?
最佳答案
这个错误对我来说似乎很清楚。 input
函数需要一个参数——提示字符串——而你已经提供了两个。我不知道你想用 []
做什么,但你需要删除它。
关于python - 类型错误 : input expected at most 1 argument, 得到 2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66717617/