Skip to content

Commit ba9c15e

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maths/is_string_palindrome.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ def is_string_palindrome(words: str) -> bool:
3838
>>> is_string_palindrome(" ")
3939
True
4040
"""
41-
cleaned_phrase = ''.join(words.split()).lower()
41+
cleaned_phrase = "".join(words.split()).lower()
4242
return cleaned_phrase == cleaned_phrase[::-1]
4343

44+
4445
if __name__ == "__main__":
4546
import doctest
4647

0 commit comments

Comments
 (0)