Python ProgrammingPython Programming

How can I concatenate str and int objects?

i = 123
a = "foobar"
s = a + str(i)
print(s)
Output
foobar123