Mar-03-2022, 08:50 AM
(Mar-02-2022, 10:51 PM)Pedroski55 Wrote: I was just wondering, is it possible to dynamically create variables in Python? Just out of interest.
Don't go that way. And why should you?
(Mar-02-2022, 10:51 PM)Pedroski55 Wrote:${'Q'.$i} = $questions[$j];
Why not use a dictionary?
Q = {} ... Q[i] = questions[j]