jeudi 22 juillet 2021

Why Do I get this error when trying to do simple math? [duplicate]

Here this the code.

a = input (": ")

b = input(": ")

ab = (a-b)

print (ab)

I get this error.

typerror: unsupported operand type(s) for -: 'str' and 'str'



Aucun commentaire:

Enregistrer un commentaire