Source: https://perso.limsi.fr/pointal/_media/python:cours:tpinfopython_2012-2013_sp2-tp1.pdf