formatte file

This commit is contained in:
2025-04-01 14:28:43 +02:00
parent f2ae2cbc13
commit e03e5458aa
77 changed files with 1231 additions and 945 deletions

View File

@@ -1,4 +1,4 @@
def is_palindrom(word)->bool:
def is_palindrom(word) -> bool:
word = list(word)
if len(word) < 2:
return True
@@ -9,4 +9,5 @@ def is_palindrom(word)->bool:
else:
return False
print(is_palindrom("do geese see god".replace(' ', '')))
print(is_palindrom("do geese see god".replace(" ", "")))