Last active
June 27, 2019 13:03
-
-
Save Ghanshyamkr93/b6834bedd35b9da70ca68905c3378e6a to your computer and use it in GitHub Desktop.
Practice Python Code for Beginners
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
#Palindrome | |
string = input("Enter a word: ") | |
reverse = string[::-1] | |
if string==reverse: | |
print("Palindrome") | |
else: | |
print("Not Palindrome") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment