# Method2
# Using function
def reverseNumber(number):
    reverse = 0
    while (number > 0):
            lastDigit = number % 10
            reverse = (reverse * 10) + lastDigit
            number = number // 10
    print(reverse)

number = int(input("Please input a number to be reversed.\n"))
reverseNumber(number);

d1274fc5de939a7e26602bc32c150f9f38b98736
<mask token>

def reverseNumber(number):
    reverse = 0
    while number > 0:
        lastDigit = number % 10
        reverse = reverse * 10 + lastDigit
        number = number // 10
    print(reverse)


<mask token>

def reverseNumber(number):
    reverse = 0
    while number > 0:
        lastDigit = number % 10
        reverse = reverse * 10 + lastDigit
        number = number // 10
    print(reverse)


<mask token>
reverseNumber(number)

def reverseNumber(number):
    reverse = 0
    while number > 0:
        lastDigit = number % 10
        reverse = reverse * 10 + lastDigit
        number = number // 10
    print(reverse)


number = int(input('Please input a number to be reversed.\n'))
reverseNumber(number)

# Method2
# Using function
def reverseNumber(number):
    reverse = 0
    while (number > 0):
            lastDigit = number % 10
            reverse = (reverse * 10) + lastDigit
            number = number // 10
    print(reverse)

number = int(input("Please input a number to be reversed.\n"))
reverseNumber(number);
