Challenge: Letter Frequency Counter
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 4
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Génial!
Completion taux amélioré à 4.76
Challenge: Letter Frequency Counter
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 4
single