3 lines
44 B
Python
3 lines
44 B
Python
|
|
def is_palindrome(s):
|
||
|
|
return s == s[::-1]
|