A) request the user to input a 5 digit number and reverse the given number and print it.
Answers
Answered by
1
Answer:
Answer in python language.
Explanation:
# input from User
Num = input("Enter a 5 digit number")
# There can be multiple ways to reverse a number(or string)
code:
rev_num = Num[::-1]
print(rev_num)
Hope, it'll help you.
Similar questions