Palindrome Python Program

 PALINDROME PYTHON PROGRAM

Python program to check whether a given string is PALINDROME or not?

string=input("Enter your String:- ")
reverse=string[::-1]
if string==reverse:
    print("String is Palindrome")
else:
    print("String is not Palindrome")


VIDEO SOLUTION:-


Comments

Popular posts from this blog

Create ML Models with BigQuery ML: Challenge Lab

Perform Foundational Data, ML, and AI Tasks in Google Cloud: Challenge Lab