This commit is contained in:
Lauri Jesmin
2023-12-05 15:09:06 +02:00
parent 8ceef6add0
commit d6553eb4ac

View File

@@ -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: