Class 12th CBSE CS
Write a Program to check whether the given string is Palindrome or not.
Solution: –
def palindrom(s): # Remove space and convert it into lower string s = s.replace(" ","").lower() return s == s[::-1] input_string = input("Enter the String :- ") if palindrom(input_string): print("The String is Palindrome....") else: print("The String 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