On 15 Jun, 21:05, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> | Hi,
> |
> |
> | I've created a method where the script defines twenty variables and
> | several of them should be random having a maximum and a minimum value.
> |
> | Wha
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Hi,
|
|
| I've created a method where the script defines twenty variables and
| several of them should be random having a maximum and a minimum value.
|
| What I did was this:
|
| from random import randrange as rr, random
|
| self.tr2
[EMAIL PROTECTED] wrote:
> I've created a method where the script defines twenty variables and
> several of them should be random having a maximum and a minimum value.
>
> What I did was this:
>
> from random import randrange as rr, random
>
> self.tr2_vezes = self.rr(self.d_tr2_vezes[0],self.d
Le Sunday 15 June 2008 20:23:56 [EMAIL PROTECTED], vous avez écrit :
> Hi,
>
>
> I've created a method where the script defines twenty variables and
> several of them should be random having a maximum and a minimum value.
>
> What I did was this:
>
> from random import randrange as rr, random
>
> s
Hi,
I've created a method where the script defines twenty variables and
several of them should be random having a maximum and a minimum value.
What I did was this:
from random import randrange as rr, random
self.tr2_vezes = self.rr(self.d_tr2_vezes[0],self.d_tr2_vezes[-1],
1) # just an exa