ne peut concaténer que Str (pas "int") à str
# To solve the issue, just add str to your number or value like:
print( "Alireza" + str(1980))
UnAngeloCheSiChiamaTheKing
# To solve the issue, just add str to your number or value like:
print( "Alireza" + str(1980))
So for example the code below throw an error:
print( "String" + 1234)
like this:
Traceback (most recent call last):
File "<pyshell#12>", line 1, in <module>
print( "String" + 1234)
TypeError: can only concatenate str (not "int") to str
To solve the issue, just add str to your number or value like:
print( "String" + str(1234))
And the result as:
String1234