8 lines
130 B
Python
8 lines
130 B
Python
def isPalindrome(s):
|
|
"""
|
|
:type s: str
|
|
:rtype: bool
|
|
"""
|
|
|
|
|
|
print(isPalindrome("A man, a plan, a canal: Panama")) |