Contents
Index
Search
Préambule
IDLE
Scripts
Variables, types et opérateurs
Noms de variables
Le type int (integer: nombres entiers)
Le type float (nombres en virgule flottante)
Les fonctions mathématiques
Le type str (string : chaîne de caractères)
Le type tuple (p-uplets)
Le type list (liste)
Le type bool (booléen)
Le type dict (dictionnaire)
Immuable vs mutable
Autres types
Programmation Orientée Objet (POO)
Exercices 1
Exercice 1.1
Exercice 1.2
Exercice 1.3
Exercice 1.4
Exercice 1.5
Exercice 1.6
Les conditions (instructions if, elif, else)
L'instruction if
L'instruction else
L'instruction elif
Exercices 2
Exercice 2.1
Exercice 2.2
Exercice 2.3
Exercice 2.4
Exercice 2.5
Les boucles (instructions for, while)
L'instruction while
L'instruction for
Exercices 3
Exercice 3.1
Exercice 3.2
Exercice 3.3
Exercice 3.4
Exercice 3.5
Exercice 3.6
Exercice 3.7
Exercice 3.8
Exercice 3.9
Search: