A Lottery Number Generator developed in Python.
The concept of the lottery is a fun one. Everyone would like to win a jackpot which would potentially solve all kinds of financial problems/constraints/limitations. However the fact is, each ticket is like buying a dream, and rarely to ever plays into a significant win. Several people can get $3 to $200 back after that things start to get severely difficult.
Here is an interesting white paper on 'Lottery winning strategies': http://www.bentley.edu/centers/sites/www.bentley.edu.centers/files/csbigs/chen.pdf
And this wiki entry on Lottery mathematics is good to (there is a table with probablity stats): http://en.wikipedia.org/wiki/Lottery_mathematics
For fun here are some interesting Lottery statistics (on the bigger lottos like Powerball which is roughly a 1/195,000,000 odds (these are rough estimates):
And here are some interesting statistics on Lottery winners (after they won), their behaviors and what they did with thier money: http://www.statisticbrain.com/lottery-winner-statistics/
The object is to give a good random selection of lottery numbers.
There is no weighting towards number frequency (which could make for an interesting addition later).
Although this won't scale, it is a good start. It needs more states/lottery options. That means there will need to be a few additional files to break out of this one page program. It will possibly need another option selector added for state, maybe a fourth, for country if it gets that big.
I should set mega-millions and powerball the first options by default since most all U.S. states participate in those.
The option menu chain should go like this: country->state->lottery