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