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 q1.py) 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 in-build 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!