Post

@PythonPr Error will be output because you can only concatenate str to str not str to int
English

@PythonPr Runtime error.
The issue here is you’re trying to operate on 2 different data types, integer being added to an string to be precise.
This operation is not allowed, if we were adding 2 strings it would result in concatenated string but as mentioned here it results in error.
English

@PythonPr TypeError
can only concatenate str to str (not integer)
English

@PythonPr Runtime Error. You can't concatenate str and int
English

@PythonPr result in a TypeError.
In Python, you cannot use the + operator between a string (str) and an integer
TypeError: can only concatenate str (not "int") to str.
English











