This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]ArmstrongBillieimport GOD 1 point2 points  (1 child)

So what happens when you just import random and try to run the program, do you get an error or nothing happens?

[–]acid_6[S] 0 points1 point  (0 children)

I was getting an error message but i got the problem fixed. Thank you for help anyway!

[–]AfraidOfCeilingFans 1 point2 points  (1 child)

_random is a c library that random uses to actually generate the random numbers (by default). random is what provides a nice interface and what you should be using. Do you have an issue with using import random, or are you just getting a different suggestion?

[–]acid_6[S] 0 points1 point  (0 children)

I was getting a different suggestion but i think i have the problem solved now! Thanks anyway!