loading...

re: Reverse a Word. VIEW POST

FULL DISCUSSION
 

Python!!

def palindrome(string):
    return all(string[i] == string[-i-1] for i in range(len(string)//2))
code of conduct - report abuse