wie man eine Zahl in Python umgeht

num = 123456
print(str(num)[::-1])
sahil bhatt