Skip to content

Instantly share code, notes, and snippets.

@arjun921
Created December 14, 2016 02:20
Show Gist options
  • Save arjun921/65f98238f747db72d9bec8d365606f95 to your computer and use it in GitHub Desktop.
Save arjun921/65f98238f747db72d9bec8d365606f95 to your computer and use it in GitHub Desktop.
listPal = input("Enter word: ")
if listPal == listPal[::-1]:
print("String is palindrome")
else:
print("String is not palindrome")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment