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
Best helpers
Shachna
+5
Cali
+5
Veirtimid
+5
Anon8889
+5
Sardathrion
+5
Nuria
+5
Tony Ong
+5
Mike Adams
+5
PoundingRain
+5
Zhengyue
+5
Shahar Tene
+5
Kang
+5
Altexpape
+5