Powerball in Python

Yesterday morning, before Christmas got going, I read about the big Powerball win Wednesday night. I figured that was as good an excuse as any to practice my new lotto math skills and wrote a short Python script to work out the game’s odds. Read more

Similar

Python Zip() Function

<p>The <code>zip()</code> function accepts a series of iteratable objects as arguments, <strong>packages</strong> the corresponding elements of different objects <strong>into a tuple</strong>, and <em... (more…)

Read more »

How to make a Python script Pip-installable

As Python developers, we’ve all used pip to install applications, but speaking to other Python developers, it’s not always clear how to make your own application/script pip-installable. If you want to automatically publish your Python to PyPi, check out m... (more…)

Read more »