Class 12th CBSE CS
Write a program to check a number whether it is palindrome or not.
Solution: –
num=int(input("Enter a number : ")) n=num res=0 while num>0: rem=num%10 res=rem+res*10 num=num//10 if res==n: print("Number is Palindrome") else: print("Number is not Palindrome")
Fun & Easy to follow
Works on all devices
Your own Pace
Super Affordable
Popular Videos
UX for Teams
Learn the basics and a bit beyond to improve your backend dev skills.

Chris Matthews
Designer
SEO & Instagram
Learn the basics and a bit beyond to improve your backend dev skills.

Chris Matthews
Designer