Commit c7c2b830 authored by Børge Haugset's avatar Børge Haugset
Browse files

forele

parent 77e269b1
......@@ -35,15 +35,21 @@ with open('ode.txt', 'r', encoding='utf-8') as f:
ord_mengde = []
for i in range(len(epos)):
print(i, len(epos[i].split()))
ord_mengde.append([i, len(epos[i].split())])
ord_mengde.append((i, len(epos[i].split())))
for linje in ord_mengde:
maks = -1
makslinjenr = -1
for i, linje in enumerate(ord_mengde):
if linje[1] > maks:
maks = linje[1]
makslinjenr = i
print(maks, makslinjenr)
maks = 0
makslinjenr = -1
for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment