*
def reverse(n):
a = n // 1000
b = n % 1000 // 100
c = n % 1000 % 100 // 10
d = n % 100 % 10
return str(d) + str(c) + str(b) + str(a)
numberT = 3456
aText = reverse(numberT)
print(f"{numberT} is reverse number {aText}")
*
def reverse(n):
a = n // 1000
b = n % 1000 // 100
c = n % 1000 % 100 // 10
d = n % 100 % 10
return str(d) + str(c) + str(b) + str(a)
numberT = 3456
aText = reverse(numberT)
print(f"{numberT} is reverse number {aText}")