fin cours 3
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user