Raymond Hettinger <[email protected]> added the comment:
As an immediate fix to your problem, replace this line:
random.shuffle(questions_element)
with:
questions = list(questions_element)
random.shuffle(questions)
questions_element[:] = questions
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43618>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com