Question: Write a Python program ( called q 1 . py ) that asks the user to enter a number as input. The program then prints
Write a Python program called qpy that asks the user to enter a number as input. The
program then prints the reverse of the number and checks if the number is a palindrome or not.
Note: You are not supposed to use inbuild functions for finding the reverse. Use loops instead.
You are supposed to take the input as an integer and it should not be converted to a list or a
string at any point in your code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
