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
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
User avatar
Posts: 2162
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.
Join the #python-forum IRC channel on irc.freenode.net for off-topic chat!

Please prefer not to PM members. The point of the forum is so that anyone can benefit. We don't want to help you over PMs/emails/Skype chats that others can't benefit from :)
User avatar
Posts: 2918
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to General Coding Help

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Guizo, Ofnuts, Yahoo [Bot] and 6 guests