We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78ad307 commit 88c0433Copy full SHA for 88c0433
1 file changed
csv_read.py
@@ -0,0 +1,23 @@
1
+import csv
2
+
3
4
5
+mas = "example.csv"
6
7
8
+with open(mas) as file1:
9
+ csv_reader = csv.reader(file1, delimiter=',')
10
+ line = 0
11
+ top = []
12
+ bottom = []
13
+ for row in csv_reader:
14
+ if line == 0:
15
+ top = row
16
+ line += 1
17
+ elif line == 1:
18
+ bottom = row
19
20
+ kam = zip(top,bottom)
21
22
+ for i in kam:
23
+ print(i)
0 commit comments