Random number lottery

This is the place for queries that don't fit in any of the other categories.

Random number lottery

Postby AdamLandau » Wed Nov 20, 2013 12:28 am

So how would I get 6 random numbers to display each time in the form of a lottery?

Easy explanations as I am new.

Numbers have to be >40
PC Specs:

i5 4670K @ 4.1Ghz
8GB Corsair Vengance RAM
Gigabyte Z87-HD3
1TB S-ATAIII 6.0Gb/s
NVIDIA GeForce GTX 760 2GB
Zalman Z11 Case
Corsair 550W PSU
Posts: 8
Joined: Sat Nov 16, 2013 12:48 pm

Re: Random number lottery

Postby metulburr » Wed Nov 20, 2013 12:32 am

try reading:

Code: Select all
we will be moving to python-forum.io on October 1 2016
more details here
User avatar
Posts: 2244
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Random number lottery

Postby micseydel » Wed Nov 20, 2013 12:33 am

Have you tried this? Perhaps after doing so, you'll be able to ask more specific questions.
Due to the reasons discussed here we will be moving to python-forum.io on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
Posts: 3000
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 9 guests