Python Program to Check if a Number is a Palindrome Data 11/08/2019 Autor Andrei Olteanu Categorie Soluții 0 543 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 (15 din 30 persoane apreciaza acest articol) ShareTweetShare Despre Autor Andrei Olteanu Solutii Asemanatoare Windows 11 – previzualizarea fișierelor PDF nu funcționează în File Explorer 11 How to reset a Googlebook to factory settings 6 Tint App Icons to match your New iPhone 18 Pro Color 0 How to verify Windows 11 ISO file authenticity using PowerShell 6 Rezolvarea situatiei cand un laptop se blocheaza -7 Configurare gmail 3 Leave A Comment? × Cancel Reply Save my name, email, and website in this browser for the next time I comment. two + = 7
Leave A Comment?