Skip to content

Commit

Permalink
Update hashtag_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Dec 13, 2024
1 parent 9914dca commit 4c095f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kyu_5/the_hashtag_generator/hashtag_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ def generate_hashtag(word: str) -> bool | str:
1. It must start with a hashtag (#).
2. All words must have their first letter capitalized.
3. If the final result is longer than 140 chars it must return false.
4. If the input or the result is an empty string it must return false.
3. If final result is longer than 140 chars it must return false.
4. Input or result must return false when empty.
:param word: str
:return:
"""
Expand Down

0 comments on commit 4c095f0

Please sign in to comment.