-
Use of for loops, if and while statements
-
Function definition
-
Array manipulation with numpy
-
2D visualization with matplotlib
By the end of this workshop, participants will build a simulation of an unfair probabilistic game involving 2 players
-
A laptop (access to internet or with Python and the Jupyter notebook module installed)
-
Basic knowledge of probability (probability experiment, sample space, familiarity with experiments involving dice)
-
Comfort with any programming language
Python code found in the WorkshopIntroToPython.ipynb notebook was based on Software Carpentry's workshop material covered in http://swcarpentry.github.io/python-novice-gapminder/