fin cours 3

This commit is contained in:
pvalarcher
2022-10-26 18:22:20 +02:00
parent a261e7597e
commit 1b77a88561
8 changed files with 86 additions and 3 deletions

8
python/3/annee.py Normal file
View File

@@ -0,0 +1,8 @@
f = open("books.csv", "r")
annee = input("Quelle année : ")
for r in f:
l = r.split(",")
if l[3] == annee+"\n":
print(str(l[1]))
f.close()