cara membalikkan angka dalam python
num = 123456
print(str(num)[::-1])
sahil bhatt
num = 123456
print(str(num)[::-1])
def digitize(n):
return [int(s) for s in str(n)][::-1]