Error:TypeError: cannot concatenate 'str' and 'int' objects on line
when i have the following
balance = 1000 type_of_trans = input("Would you like to make a withdrawal or deposit?: " ) how_much = int(input("How much? ")) if type_of_trans == "withdrawal": print balance - "how_much" if type_of_trans == "deposit": print balance + "how_much" else: print "Invalid transaction"