Python Program to Check if a Number is a Palindrome Data 11/08/2019 Autor Andrei Olteanu Categorie Soluții -2 381 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 (6 din 14 persoane apreciaza acest articol) ShareTweetShare Despre Autor Andrei Olteanu Solutii Asemanatoare How to increase Java memory limits – Windows -1 How to run remote Command Execution on Powershell? 2 How to run PowerShell Script from CMD -1 Remediați problemele de sunet după actualizarea Windows 11 24H2 0 How can we see only the errors on an interface 1 How can we see the details of neighboring devices 4 Leave A Comment? × Cancel Reply Save my name, email, and website in this browser for the next time I comment. three + 9 =
Leave A Comment?