Cours Python – 18 Septembre 2025

Introduction à Python

Syntaxe et opérateurs

# Puissance et opérations
resultat = 2**3
print(resultat)   # Affiche 8

somme = (2 + 3) * 4
print(somme)      # Affiche 20

Concaténation et f-string

Booléens et constantes

Nommage et conventions

Listes et tableaux