diff --git a/kyu_6/character_frequency/character_frequency.py b/kyu_6/character_frequency/character_frequency.py index 3a758b21793..443bc4f6680 100644 --- a/kyu_6/character_frequency/character_frequency.py +++ b/kyu_6/character_frequency/character_frequency.py @@ -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: