Bertrand_NSI/README.md

23 lines
404 B
Markdown
Raw Permalink Normal View History

2020-04-28 07:09:30 +00:00
# Outils pour l'enseignement NSI
2020-04-28 07:09:02 +00:00
2021-06-09 13:35:19 +00:00
## Installation
2020-04-28 07:09:30 +00:00
pip install --upgrade Bertrand_NSI
2021-06-09 13:35:19 +00:00
# Outils
2020-04-28 07:09:30 +00:00
## Fonctions de tri
2021-06-09 13:02:33 +00:00
>>> from Bertrand_NSI.tri import tri
2020-04-28 07:09:30 +00:00
>>> tri.bulles([1, 23, 2, 4, 15])
[1, 2, 4, 15, 23]
2021-06-09 13:02:33 +00:00
2021-06-09 13:35:19 +00:00
## Blackjack
Correction du jeu de blackjack pour l'aide aux élèves.
>>> from Bertrand_NSI.blackjack import Player
>>> p = Player(1)
>>> print(p)
<Player 1: []>