Casting an int to a string in Python April 23, 2023 by Tarik x = 1 y = "foo" + str(x) Please see the Python documentation: https://docs.python.org/3/library/functions.html#str