Skip to content

Commit dcea550

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cbf6b9f commit dcea550

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

strings/is_palindrome.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ def is_palindrome(s: str) -> bool:
22
s = s.lower().replace(" ", "")
33
return s == s[::-1]
44

5+
56
if __name__ == "__main__":
67
print(is_palindrome("madam")) # True
78
print(is_palindrome("hello")) # False

0 commit comments

Comments
 (0)