python - 类型错误 : input expected at most 1 argument,

这是我的代码,我一直收到错误

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/

相关文章:

firebase - 我怎么知道谁更改了我的 Cloud Function

kotlin - 在 Kotlin 中定义数组类型

api - Postman/SoapUI API 调用后的数据存储

c++ - 如何在 C++ 中访问 map> 的值?

c# - UWP:导航 View 没有完全延伸到标题栏

c# - 解析不同的HttpClient

python - 有没有办法在这个正态分布的区域上色?

c++ - 特定的直角三角形在 Cpp 中未被识别为直角

Angular 11 - RouterModule - 'router-outlet' 不是已知元素

angular - TS2339 : Property 'text' does not exist