Skip to content

Commit 4ed52fc

Browse files
author
mustafa
committed
csv okuma baslangic
1 parent 5db1bab commit 4ed52fc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

csv_okuma.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
import csv
22

3+
sayilar = []
34
with open("test.csv") as dosya:
4-
data
5+
rows = csv.reader(dosya,delimiter=";",quotechar='"')
6+
for row in list(rows)[1:]:
7+
if row[3].isnumeric():
8+
sayi = int(row[3])
9+
sayilar.append(sayi)
10+
print("max",max(sayilar))
11+
print("min",min(sayilar))
12+
513

0 commit comments

Comments
 (0)