+ 1

Undefined

It says "random udefined" random.choice(list)

15th Nov 2017, 4:19 AM
Joseph Fisher
Joseph Fisher  - avatar
3 Réponses
+ 7
Write "import random" at the beginning of the code.
15th Nov 2017, 4:58 AM
qwerty
qwerty - avatar
+ 6
Did you import random?
15th Nov 2017, 4:27 AM
Arthur Tripp
Arthur Tripp - avatar
+ 3
Try importing the random class first.
15th Nov 2017, 4:30 AM
᠌᠌Code X
᠌᠌Code X - avatar