Skip to content

Commit

Permalink
Update character_frequency.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Oct 24, 2024
1 parent 63265d6 commit 96ca374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kyu_6/character_frequency/character_frequency.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def letter_frequency(text: str) -> list:
"""
results: list = []
chars: dict = {}
text: str = text.lower()
text = text.lower()

for c in text:
if c.isalpha() and c not in chars:
Expand Down

0 comments on commit 96ca374

Please sign in to comment.