Pseudo-random number generator for Powerball lottery in Python 3.
Install Python3 requirements:
pip3 install -r requirements.txt
Run directly from a shell in Python3:
python3 powerballPy.py --n 5
or:
python3 powerballPy.py --num_sets 5
Program generates the following set:
- five (5) distinct pseudo-random numbers between 1 and 69, and
- one (1) pseudo-random number between 1 and 26.
to a PrettyTable .
User designates the number of sets they'd like to create. Default is one (1) set.
White #s | Red # |
---|---|
12, 49, 22, 18, 20 | 18 |
27, 20, 25, 13, 3 | 14 |
20, 47, 64, 5, 26 | 11 |
10, 54, 40, 39, 6 | 20 |
30, 23, 63, 3, 25 | 8 |