from random import randint
rand = randint(0,36)
print rand
Don't forget about the double zero slot.
Tobiah
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Fredrik,
I got your program running (with a couple of tweaks) with just a quarter of
an hour to spare before using it at our happy hour yesterday.
The old ladies loved it.
I can now adapt it for bingo.
Thanking you
Adam.
--
http://mail.python.org/mailman/listinfo/python-list
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Adam" <[EMAIL PROTECTED]> wrote:
>
>> So we came up with the idea of using a random number generator to
>> generate numbers from 0 to 36 and display them in large figures on my
>> laptop. This is for the benefit of th
"Adam" <[EMAIL PROTECTED]> wrote:
> So we came up with the idea of using a random number generator to
> generate numbers from 0 to 36 and display them in large figures on my
> laptop. This is for the benefit of those people who are hard of hearing.
> They like to see what is happening.
here's on
Adam wrote:
> "Adam" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > "BOOGIEMAN" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >> On Tue, 15 Feb 2005 21:22:43 GMT, Adam wrote:
> >>
> >>> Please help me.
> >>> How do you clear the screen and then display a
Adam wrote:
We are running a numbers game at our retirement village and using a roulette
wheel to generate the numbers. but this wheel is only about 12 in diameter
and is little more than a toy. So we came up with the idea of using a random
number generator to generate numbers from 0 to 36 and d
Adam wrote:
Here's what I'm trying to do.
We are running a numbers game at our retirement village and using a roulette
wheel to generate the numbers. but this wheel is only about 12 in diameter
and is little more than a toy. So we came up with the idea of using a random
number generator to gener
"Adam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "BOOGIEMAN" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> On Tue, 15 Feb 2005 21:22:43 GMT, Adam wrote:
>>
>>> Please help me.
>>> How do you clear the screen and then display a number with an enlarged
>>>
"BOOGIEMAN" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, 15 Feb 2005 21:22:43 GMT, Adam wrote:
>
>> Please help me.
>> How do you clear the screen and then display a number with an enlarged
>> font
>> size (about 300).
>> Adam.
>
> To clear screen in windows :
>
> #at th
On Tue, 15 Feb 2005 21:22:43 GMT, Adam wrote:
> Please help me.
> How do you clear the screen and then display a number with an enlarged font
> size (about 300).
> Adam.
To clear screen in windows :
#at the beggining of the program
import os
#when you want to clear the screen
os.system("cls")
"Adam" <[EMAIL PROTECTED]> wrote:
> How do you clear the screen and then display a number with an enlarged font
> size (about 300).
what platform? what screen? 300 what?
--
http://mail.python.org/mailman/listinfo/python-list
11 matches
Mail list logo