Python Program to Check if a Number is a Palindrome Data 11/08/2019 Autor Andrei Olteanu Categorie Soluții -2 464 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 (10 din 22 persoane apreciaza acest articol) ShareTweetShare Despre Autor Andrei Olteanu Solutii Asemanatoare Cum schimbati “Initiator Name” in iSCSI 6 ESP32 Web Server guide 1 Fix Windows without losing your Files 4 6 ways to speed up email management in Outlook 4 Cum selectezi si editezi text dintr-o imagine pe Windows 11 -6 My iPhone kept running out of storage—this was the only thing that fixed it -3 Leave A Comment? × Cancel Reply Save my name, email, and website in this browser for the next time I comment. + seven = 16
Leave A Comment?