What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-03-18 06:10:28
TypeError: unsupported operand type(s) for +: 'int' and 'str'
#this is a int Anmol = 1 #this is a str Mom = "1" Anmol + Mom #if you add you get someting that looks like this #TypeError: unsupported operand type(s) for -: 'str' and 'int' #to fix do the following Anmol + str(Mom) Add solution -
Other 2022-02-11 16:00:18
TypeError: unsupported operand type(s) for -: 'str' and 'int'
#this is a int Anmol = 1 #this is a str Mom = "1" Anmol + Mom #if you add you get someting that looks like this #TypeError: unsupported operand type(s) for -: 'str' and 'int' #to fix do the following Anmol + str(Mom) Add solution -
Python 2021-09-29 21:56:08
TypeError: unsupported operand type(s) for +=: 'IntVar' and 'int'
#this is a int Anmol = 1 #this is a str Mom = "1" Anmol + Mom #if you add you get someting that looks like this #TypeError: unsupported operand type(s) for -: 'str' and 'int' #to fix do the following Anmol + str(Mom) Add solution