I'm trying to use an integer along with a letter to set a predefined variable to a number. I'm not quite sure how to explain this, so please see the code below...
from random import *
for i in range(0,playerDifficulty,1):
tempRandomLine = randint(1, 10)
l(tempRandomLine) = 15
Where I have the l(tempRandomLine), I need that to be able to set a variable predefined, such as l5, to 15, and I'm not quite sure how to do this. Any ideas? I am using Python 3