Python ProgrammingPython Programming

How to concatenate two variable one is string and other is int in Python?

int1 = 10
str1 = 'test'

print(str(int1) + str1)
Output
10test