num_trades = int(input("Number of trades for today? "))
for i in range(1, num_trades + 1):
print()
action = input("Trade number", i, "(buy/sell)? ")
num_shares = int(input("Number of shares to buy? "))
我要TypeError
上线了"action = input("Trade number", i, "(buy/sell)? ")"
此错误消息显示“ TypeError: input expected at most 1 arguments, got 3
”
不知道是什么意思,也不知道怎么改。帮助
谢谢