Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
python:hasard:start [2019/10/12 17:52] – physix | python:hasard:start [2020/07/24 03:31] (Version actuelle) – modification externe 127.0.0.1 |
---|
random.randint(0, 3) : entier entre 0 et 3 inclus. | 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> | random.choice(['a', 'b', 'c']) |
| |
| |