Skip to content

Commit b908d84

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎strings/longest_word_in_sentence.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def longest_word(sentence: str) -> str:
2323
words = sentence.split()
2424
return max(words, key=len) if words else ""
2525

26+
2627
if __name__ == "__main__":
2728
from doctest import testmod
29+
2830
testmod()

0 commit comments

Comments
 (0)