tifying up a little
This commit is contained in:
@@ -101,9 +101,7 @@ def map_range(rng, map):
|
|||||||
return result_range
|
return result_range
|
||||||
|
|
||||||
|
|
||||||
#seeds, maps = data
|
|
||||||
ranges = []
|
ranges = []
|
||||||
|
|
||||||
for i in range(0, len(seeds), 2):
|
for i in range(0, len(seeds), 2):
|
||||||
start = seeds[i]
|
start = seeds[i]
|
||||||
end = seeds[i] + seeds[i+1] - 1
|
end = seeds[i] + seeds[i+1] - 1
|
||||||
@@ -130,6 +128,3 @@ while k != 'location':
|
|||||||
break
|
break
|
||||||
|
|
||||||
print(min([result[0] for result in ranges]))
|
print(min([result[0] for result in ranges]))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user