Python Program to Check if a Number is a Palindrome Data 11/08/2019 Autor Andrei Olteanu Categorie Soluții -1 478 Configurare noua (How To) Situatie Solutie n=int(input("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!") Tip solutiePermanent Voteaza Up Down (11 din 23 persoane apreciaza acest articol) ShareTweetShare Despre Autor Andrei Olteanu Solutii Asemanatoare NTLDR lipsește din Windows 10 0 Combina nume+prenume in Excel 2 Colorare automată a mesajelor in Outlook 0 Improve AI answers by asking it to Self-Review 2 Improve AI Code Generation with simple constraints 1 Turn rough ideas into a structured plan with AI 4 Leave A Comment? × Cancel Reply Save my name, email, and website in this browser for the next time I comment. × two = six
Leave A Comment?