Skip to content

Commit 7054194

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

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

strings/frequency_finder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636

3737

3838
def get_letter_count(message: str) -> dict[str, int]:
39-
'''get_letter_count() is a function that takes message as parameter which is
40-
supposed to be the string. and it returns a dictionary where string is a key
41-
and integer is a value.'''
39+
"""get_letter_count() is a function that takes message as parameter which is
40+
supposed to be the string. and it returns a dictionary where string is a key
41+
and integer is a value."""
4242
letter_count = dict.fromkeys(string.ascii_uppercase, 0)
4343
for letter in message.upper():
4444
if letter in LETTERS:
@@ -48,7 +48,7 @@ def get_letter_count(message: str) -> dict[str, int]:
4848

4949

5050
def get_item_at_index_zero(x: tuple) -> str:
51-
'''It takes x as parameter which is tuple and returns a string.'''
51+
"""It takes x as parameter which is tuple and returns a string."""
5252
return x[0]
5353

5454

0 commit comments

Comments
 (0)