Write a code to extract each digit from an integer, in the reverse order code example
Example: Write a code to extract each digit from an integer, in the reverse order
x = int(input('Enter a number : '))
y = int(str(x)[::-1])
print("The reversed number is:" ,y)