1.

Write a program in python to accept a number and display it is palindrome or not​

Answer»

nput("ENTER number:")) temp=N rev=0 while(n>0): dig=n%10 rev=rev*10+dig n=n//10 if(temp==rev): PRINT("The number is a palindrome!") else: print("The number isn't a palindrome!")HOPE IT HELPSMARK AS BRAINLIEST PLEASE



Discussion

No Comment Found