python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
print(format("PALINDROME",'^50')) str=(input("enter the string:") strlst=list(str) strlist.reverse() reversestr=".join(strlst) print("the reversed string is:",reversestr) if str==reversestr: print("given str is palindrome") else: print("the given str is not palindrome")
Share this code with others
Public
Clear
My Repos
Repo
Lang
Login
Register
Login
Create a free account. No Credit card info required.
I agree with the Codepy
Term of Service
Sign Up