recipe = [
['eggs', 'flour', 'meat'],
[4, 250, 5],
['large','grams', 'kg'],
]
Leaving aside this would be far better as a dictionary, if you want to divide the quantities by two, and change what you have stored :
for quantity, index in enumerate(recipe[1])
recipe[1][index] = quantity/2
A better way would be to use a dictionary, which allows you to give names to data items :
recipe = {"eggs":{"quantity":4, "measurement":"large"},
"flour":{"quantity":250,"measurement":"grams"},
"meat":{"quantity":5,"measurement":"kg"}}
and now division by two becomes :
for ingredient in recipe:
recipe[ingredient]["quantity"] = recipe[ingredient]["quantity"]/2
and print the recipe becomes :
for ingredient in recipe:
print "{} {} {}".format(recipe[ingredient]["quantity"], recipe[ingredient]["measurement"], ingredient)
this generates :
4 large eggs
250 grams flour
5 kg meat
and no faffing about with index numbers etc.