publicMasters/python/3/annee.py

9 lines
147 B
Python
Raw Normal View History

2022-10-26 18:22:20 +02:00
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()