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 - 315 Views - Last Post: 18 February 2011 - 06:02 PM
#1
Create a variable that returns a new random number.
Posted 18 February 2011 - 04:06 PM
Replies To: Create a variable that returns a new random number.
#2
Re: Create a variable that returns a new random number.
Posted 18 February 2011 - 04:11 PM
#3
Re: Create a variable that returns a new random number.
Posted 18 February 2011 - 06:02 PM
sorry
This post has been edited by Zealon: 18 February 2011 - 06:04 PM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|