I'm trying to make python take a string from a list at random and then use that string to determine what variable of the same name to add 1 to. I can't use a dictionary because of how I'm using the variables in other modules.
This is what I have for an example:
import random
item1 = 0
item2 = 0
item3 = 0
items = ("Item1","Item2","Item3")
item = random.choice(items)
#I want it to find the variable of the same name and then add 1 to said variable
#depending on what item is chosen to be "item".