Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.netยทApr 22, 2023DAY 7 of PYTHON top 100 questions : from Basic to Advanced !!Write a Python program to check whether a given string is a palindrome or not:- str=input("ENTER THE STRING : ") if str == str[::-1]: print("YES") else: print("NO") Output: ENTER THE STRING : eye YES The code first prompts the user to inpu...100DaysOfCodeAdd a thoughtful commentNo comments yetBe the first to start the conversation.