publicMasters/python/3/annee.py
2022-10-26 18:22:20 +02:00

9 lines
147 B
Python

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()