Answers for "palindrom code for paython 5 charctart"

0

palindrom code for paython 5 charctart

string=input(("Enter a string:"))
if(string==string[::-1]):
      print("The string is a palindrome")
else:
      print("Not a palindrome")
Posted by: Guest on March-11-2021

Browse Popular Code Answers by Language