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

View File

@@ -1,8 +1,8 @@
f = open ("books.csv", "r")
max = 0
f.readline()
for row in f:
ligne = row.split(",")
for t in f:
ligne = t.split(",")
if int(ligne[0]) > max:
max = int(ligne[0])
@@ -18,3 +18,4 @@ f.write(enregistrement)
f.close()