2 Antworten
+ 6
That is because Python doesn't (or can't) implicitly convert objects from one type to another. A solution is to convert your int into string and then add them!
print(str(2) + "35")
https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex
+ 3
thank you