Parandus
This commit is contained in:
@@ -34,13 +34,17 @@ for line in lines:
|
||||
temp = re.findall(r'\d+', line)
|
||||
tableitems = list(map(int, temp))
|
||||
table.append(Range(*tableitems))
|
||||
tables.append(table)
|
||||
|
||||
print(seeds)
|
||||
print(tables)
|
||||
for table in tables:
|
||||
print("tabel")
|
||||
for rida in table:
|
||||
print(rida)
|
||||
|
||||
pisim = 0
|
||||
for arv in seeds:
|
||||
print(arv)
|
||||
print(f"Algus: {arv}")
|
||||
for table in tables:
|
||||
muudetud = False
|
||||
print("tabel")
|
||||
@@ -51,7 +55,7 @@ for arv in seeds:
|
||||
print(f"Uus arv: {arv}")
|
||||
break
|
||||
|
||||
print(arv)
|
||||
print(f"Vastus: {arv}")
|
||||
if pisim == 0:
|
||||
pisim = arv
|
||||
if pisim > arv:
|
||||
|
||||
Reference in New Issue
Block a user