Fix: Ensure all skills are tracked as files, not submodules
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
def is_palindrome(text: str):
|
||||
"""
|
||||
Checks if given string is a palindrome
|
||||
>>> is_palindrome('')
|
||||
True
|
||||
>>> is_palindrome('aba')
|
||||
True
|
||||
>>> is_palindrome('aaaaa')
|
||||
True
|
||||
>>> is_palindrome('zbcd')
|
||||
False
|
||||
"""
|
||||
return text == text[::-1]
|
||||
Reference in New Issue
Block a user