Skip to content

Instantly share code, notes, and snippets.

View Ghanshyamkr93's full-sized avatar
🎯
Focusing

Ghanshyamkr93

🎯
Focusing
View GitHub Profile
@Ghanshyamkr93
Ghanshyamkr93 / Palindrome
Last active June 27, 2019 13:03
Practice Python Code for Beginners
#Palindrome
string = input("Enter a word: ")
reverse = string[::-1]
if string==reverse:
print("Palindrome")
else:
print("Not Palindrome")