tifying up a little

This commit is contained in:
Jake Pullen
2023-12-05 12:48:51 +00:00
parent ac860f5455
commit 58a2c598a7
-5
View File
@@ -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]))