Created
October 14, 2017 14:58
-
-
Save xsaamiir/ce89b7a8cea928ac7686a3802df79a23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user_input = input("Please type a word:\n") | |
if user_input == user_input[::-1]: | |
print("You just typed a palindrome") | |
else: | |
print("You didn'type a palindrome") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment