Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
can only concatenate str (not "int") to str
isar
Programming language:
Python
2021-06-29 16:46:01
0
Q:
can only concatenate str (not "int") to str
Eleron
Code:
Python
2021-07-12 11:51:09
# To solve the issue, just add str to your number or value like: print( "Alireza" + str(1980))
-1
Tags
int
con
Related
how to concatenate a string with int in python
concatenate strings and int python
TypeError: can only concatenate str (not "method") to str
concatenate string and int python
New to Communities?
Join the community