Skip to content

Instantly share code, notes, and snippets.

@PushkraJ99
Last active June 5, 2022 15:35
Show Gist options
  • Select an option

  • Save PushkraJ99/e9a8dd5f3cf5560934c0b61739125e8b to your computer and use it in GitHub Desktop.

Select an option

Save PushkraJ99/e9a8dd5f3cf5560934c0b61739125e8b to your computer and use it in GitHub Desktop.
Palindrome 2
#Palindrome using Python (Github:-PushkraJ99)
string=input(("Enter a string:"))
if(string==string[::-1]):
print("The string is a palindrome")
else:
print("The string is Not a palindrome")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment