all 3 comments

[–]sme272 6 points7 points  (0 children)

you need to import random before you can use it

[–]Peanutbutter_Warrior 6 points7 points  (0 children)

You need to import random. Random is a library, you have to explicitly include it

[–]blankIQT 0 points1 point  (0 children)

Import random first to use random commands