Challenge: Letter Frequency Counter
Opgave
Swipe to start coding
Count and display the frequency of each letter in a given string.
- Only count alphabetic characters.
- Treat uppercase and lowercase versions of the same letter as the same character.
- Return a dictionary mapping each letter to its count.
- Display each letter and its frequency.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 4
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 4.76
Challenge: Letter Frequency Counter
Stryg for at vise menuen
Opgave
Swipe to start coding
Count and display the frequency of each letter in a given string.
- Only count alphabetic characters.
- Treat uppercase and lowercase versions of the same letter as the same character.
- Return a dictionary mapping each letter to its count.
- Display each letter and its frequency.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 4
single