values = [ 4, 7, 10, 5, 3]
maxV = max(values)
maxI = values.index(maxV)
print(f"Max value: {maxV}")
print(f"Max value index: {maxI}")
weights = [15, 8, 2, 6, 12 ]
maxW = max(weights)
maxI2 = weights.index(maxW)
print(f"Max weight: {maxW}")
print(f"Max index: {maxI2}")
values = [ 4, 7, 10, 5, 3] # we need to reload these lists because we modified them
weights = [15, 8, 2, 6, 12 ] # in loop above
v = len(values)
for items in range (0, v)
item_values = max(values)
maxI = values.index(values_m)
values = [4,7, 10, 5 , 3]
weights = [15, 8, 2, 6, 12]
for item in range (0, v)
v = len(weights):
item_values = index.weights
print (item_values)