Last active
June 5, 2022 15:35
-
-
Save PushkraJ99/e9a8dd5f3cf5560934c0b61739125e8b to your computer and use it in GitHub Desktop.
Palindrome 2
This file contains hidden or 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 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