num_trades = int(input("Number of trades for today?"))
for i in range(1, num_trades + 1):
action = input("Trade number", i ,"(buy/sell)?")
num_shares = int(input("Number of shares to buy?"))
price_per_share = float(input("Price per share?"))
I'm getting a TypeError on the line "action = input("Trade number", i ,"(buy/sell)?")"
Help
Thanks