Přejít na soubor
Bertrand Benjamin 1346ba426a Feat: ajout de grand_carre 2021-06-25 08:51:48 +02:00
NSI_Bertrand Feat: ajout de grand_carre 2021-06-25 08:51:48 +02:00
.gitignore Initial commit 2020-04-28 07:09:02 +00:00
LICENSE Initial commit 2020-04-28 07:09:02 +00:00
README.md Feat: import blackjack and push v0.4.1 2021-06-09 15:35:19 +02:00
setup.py Feat: ajout de grand_carre 2021-06-25 08:51:48 +02:00

README.md

Outils pour l'enseignement NSI

Installation

pip install --upgrade Bertrand_NSI

Outils

Fonctions de tri

>>> from Bertrand_NSI.tri import tri
>>> tri.bulles([1, 23, 2, 4, 15])
[1, 2, 4, 15, 23]

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: []>