diff --git a/S2/TP1/tp1.py b/S2/TP1/tp1.py index ed60584..202ac7e 100644 --- a/S2/TP1/tp1.py +++ b/S2/TP1/tp1.py @@ -26,15 +26,16 @@ print('Le test a retourné', test1) question(2) -print("Il y a ", len(l_etudiants), " étudiants dans la liste") +print("Il y a", len(l_etudiants), "étudiants dans la liste") question(3) -# TODO - -print(l_etudiants[11501230%len(l_etudiants)]) +monId = 11501230 # Jean-Loup +# monId = 11500683 # Geoffrey +fiche = l_etudiants[monId%len(l_etudiants)] +print("Cette fiche est celle de", fiche[2], fiche[1], "qui est en", fiche[3], fiche[4], "et son id est le", fiche[0]) question(4)