convert gto string method in python code example Example: how to make an int into a string python int x = 10 string p = str(x)