python concatenate 2 numbers code example Example: concatenate numbers python z = int(str(x) + str(y))