zad4 test22

This commit is contained in:
massta 2020-04-05 20:25:23 +02:00
parent 73d58d32d9
commit daa8e4b2dc
2 changed files with 4 additions and 4 deletions

View File

@ -8,8 +8,8 @@ x = []
y = []
i = 1
with open('averagesrr.txt','r') as csvfile:
plots = csv.reader(csvfile, delimiter=' ')
with open('averagesrr.txt','r') as file:
plots = csv.reader(file)
for row in plots:
y.append(float(row[0]))
x.append(int(i))

View File

@ -8,8 +8,8 @@ x = []
y = []
i = 1
with open('averagewer.txt','r') as csvfile:
plots = csv.reader(csvfile, delimiter=' ')
with open('averagewer.txt','r') as file:
plots = csv.reader(file)
for row in plots:
y.append(float(row[0]))
x.append(int(i))