Question: A palindrome is a number which reads the same forward and backwards. To illustrate: 10101,131,1331,1225221,2 are examples of palindromes 122,100,19 are examples of numbers which
A palindrome is a number which reads the same forward and backwards. To illustrate: 10101,131,1331,1225221,2 are examples of palindromes 122,100,19 are examples of numbers which are not palindromes. Write a function in Python that given a number determines if the number is a palindrome or not. Your function should take in a number and return yes or no depending if its a palindrome or not.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
