Source: http://desaintar.free.fr/python/tp/le_juste_prix