Hasard

http://www.python-simple.com/python-modules-math/random.php

random.random() : valeur entre 0 et 1, 1 exclus.

random.randint(0, 3) : entier entre 0 et 3 inclus.

<font 14px font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(232, 232, 232); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;/ ;;inherit;;rgb(10, 3, 110) font-family: “Courier New”, Courier, monospace; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(232, 232, 232); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;>random.choice(['a', 'b', 'c'])</font>