Algorithmique — Listes

Listes en Python : création, parcours, recherche, accumulation, compréhension, petits algorithmes.

{-- QUIZ — Algorithmique — Listes --}

✅ Quiz — Algorithmique — Listes (20 questions)

1. Boucle sur liste en Python ?
Réponse : for x in L:

2. Ajouter un élément ?
Réponse : L.append(x)

3. Longueur d'une liste ?
Réponse : len(L)

4. Condition Python ?
Réponse : if ...:

5. Somme d'une liste ?
Réponse : s=0 puis s+=x

6. Question 6 (algo)
Réponse : —

7. Question 7 (algo)
Réponse : —

8. Question 8 (algo)
Réponse : —

9. Question 9 (algo)
Réponse : —

10. Question 10 (algo)
Réponse : —

11. Question 11 (algo)
Réponse : —

12. Question 12 (algo)
Réponse : —

13. Question 13 (algo)
Réponse : —

14. Question 14 (algo)
Réponse : —

15. Question 15 (algo)
Réponse : —

16. Question 16 (algo)
Réponse : —

17. Question 17 (algo)
Réponse : —

18. Question 18 (algo)
Réponse : —

19. Question 19 (algo)
Réponse : —

20. Question 20 (algo)
Réponse : —