Programming with Python

So I’ve been learning some VBA, but it seems like Python is the popular method for getting your computer to do stuff, so I started looking into that too.

Here’s a couple examples (both lottery-related, of course) that you can download and try out.  You’ll need Python 3 installed (get it here: https://www.python.org/downloads/) to let it do its magic.

Examples

Lottery Numbers:  Give the program 6 numbers, and it’ll tell you how much money you’ll need to spend to win the jackpot (and how many years of twice weekly playing you’ll need to get it).  Download here.

Lottery Frequency:  Give the program the number of years, and it’ll tell you how often each number got picked, and what the top 6 numbers are.  Outputs a .csv file.  Download here.