+ 1
String=""; string+=4; explain the ans?
2 Answers
+ 2
you cannot add a string and a integer together, though you can convert the integer into a string and then concatnate them.
+ 2
You should first state that it i Python.
Secondly, only objects of the same datatype add up.