Skip to content
← Back to Community
Palindrome
Profile icon
amanjot504

check weather a word or a pharse id a palindrome or not!!!!

Voters
Profile icon
JakobPowell
Profile icon
amanjot504
Comments
hotnewtop
Profile icon
SamuelOwolabi2

check out my anime list for an upvote

Profile icon
finlay44111

a slightly more simple solution

def is_palindrone(s): return s == s[::-1]