How to create new variables with names from list? This:
name = [\'mike\', \'john\', \'steve\'] age = [20, 32, 19] index = 0 for e in name: name[ind
You can use globals():
globals()
globals()[e] = age[index]
Generally, though, you don't want to do that; a dictionary is much more convenient.
people = { 'mike': 20, 'john': 32, 'steve': 19 }