🔒 Mode aperçu. Les quinze premières leçons Foundations sont gratuites ; celle-ci est Pro. Démarrez un trial de 7 jours pour débloquer l'éditeur, les conseils AI et le reste du programme. Carte requise, annulez à tout moment dans Dashboard.Démarrer le trial de 7 jours →
← Cours›Python Foundations›Module 8 · Python moderne et synthèse›collections.Counter — comptages de fréquencewrite160 / 174
+100 XP
Tâche🌐 shown in EN
📝 **Question:** Use \`Counter\` on the string \`"mississippi"\` (treat each character as an item). Print \`.most_common(2)\`.\nExpected: [('i', 4), ('s', 4)]
📋 Pick the right answer.
💡 **Hint:** Re-read the theory above if unsure.