From 19e1d97414c36b3449b27f301d29ada2424e0492 Mon Sep 17 00:00:00 2001 From: Belfadel Mohamed <mohamed.belfadel.etu@118p2.fil.univ-lille.fr> Date: Wed, 20 Mar 2024 08:58:21 +0100 Subject: [PATCH] plt --- TP8/tp8.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 TP8/tp8.py diff --git a/TP8/tp8.py b/TP8/tp8.py new file mode 100644 index 0000000..68a8a63 --- /dev/null +++ b/TP8/tp8.py @@ -0,0 +1,16 @@ +import random +import matplotlib.pyplot as plt + +def liste_alea(n): + """à_remplacer_par_ce_que_fait_la_fonction + + Précondition : + Exemple(s) : + $$$ + + """ + + entiers = list(range(n)) + random.shuffle(entiers) + return entiers + -- GitLab