I'm doing this repetitively:
item = func('item')
item1 = func('item1')
item2 = func('item2')
So I'm trying to write a code like this to do it faster:
list = [item, item1, item2]
for x in list:
x = func(str(x))
However, it appears that as long as there are no quotes around the items they are only accepted as already existing variables. Is there a way to accomplish what I'm trying to accomplish?