Skip to content

Commit f185b1a

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

strings/is_palindrome.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ def is_palindrome(text: str) -> bool:
22
"""
33
Check if a string is a palindrome.
44
5-
A palindrome is a word, number, phrase, or other sequence of
5+
A palindrome is a word, number, phrase, or other sequence of
66
characters which reads the same backward as forward.
77
88
Reference: https://en.wikipedia.org/wiki/Palindrome
@@ -20,4 +20,5 @@ def is_palindrome(text: str) -> bool:
2020

2121
if __name__ == "__main__":
2222
import doctest
23+
2324
doctest.testmod()

0 commit comments

Comments
 (0)