From d761a29d226e9e8ef982f4fae78d96b2f5dd4981 Mon Sep 17 00:00:00 2001 From: Romain Vuillemot <romain.vuillemot@gmail.com> Date: Mon, 7 Nov 2022 11:08:16 +0100 Subject: [PATCH] Create test_pile.py --- TD02/code/test_pile.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 TD02/code/test_pile.py diff --git a/TD02/code/test_pile.py b/TD02/code/test_pile.py new file mode 100644 index 0000000..96c377a --- /dev/null +++ b/TD02/code/test_pile.py @@ -0,0 +1,9 @@ +from pile import * + +p = Pile() + +for d in data: + p.ajoute(d) + e = p.supprime() + +print(e['nom'] + " " + e['prenom']) # Arthaud Nathalie \ No newline at end of file -- GitLab