Hello, I am trying to create a dice in Python.
I have succeded by using
random.randint (1,6) but I have to use continue
to return a new number.
Lets say my variable was hazard1 and once it went
through my loop, it became hazard2 and called for
a new random number, that would help me create an rpg
type menu. Does that make sense?
2 Replies - 560 Views - Last Post: 18 February 2011 - 06:02 PM
Replies To: Create a variable that returns a new random number.
Page 1 of 1