It says that it can't assign the operator. Why doesn't this work?
print ("Welkom")
print ("Voer het huidige bedrag op uw rekening in")
currentbank = input ("huidige bedrag:€")
print ("Hoeveel wil je erafhalen")
minusbank = input ("min:€")
print ("Je hebt als je dit doet:")
afterbank = false
afterbank = currentbank - minusbank
print ("Dankjewel dat je dit programma gebruikt hebt")
"afterbank = currentbank - minusbank" has this error:
TypeError: unsupported operand type(s) for -: 'str' and 'str'
currentbank-minusbank=afterbankWhat are you trying to do here? My guess is you wanted to doafterbank=currentbank-minusbank, and thenafterbank=Falseis not needed at all. But I may be wrong.