python - Create string(s) from list(s) items -


I have a list, list = ['af,' 'bar'] and now I want to make strings from each item.

Each string is named as an item and has the value of the item

foo = 'foo' bar = 'bar'

Thank you for, I do not want to do that.

  for strings = dict (x, x)) 


Comments