Write a function reverse_number() to return the reverse and the sum of the number entered Example: reverse_number(1234) returns 4321, 10 in python
Example: reverse intergers in python
# Get the number from user manually
num = int(input("Enter your favourite number: "))
# Initiate value to null
test_num = 0
# Check using while loop
while(num>0):
#Logic
remainder = num % 10
test_num = (test_num * 10) + remainder
num = num//10
# Display the result
print("The reverse number is : {}".format(test_num))