← Retour au cours : Python de Zéro à Héros
⚠️ Mode Visiteur : Vous lisez ce cours gratuitement. Créez un compte pour sauvegarder votre progression et obtenir des badges ! 🏆

Conditions et Boucles

Contrôle du flux

if age >= 18:
    print("Majeur")
else:
    print("Mineur")

for i in range(5):
    print(i)

while x < 10:
    x += 1

📝 Exercices (1)

Exercice 1 : Indentation

Pourquoi l'indentation ?

📝 Vous avez terminé cette leçon ?

Créez un compte gratuit pour sauvegarder votre progression !

Créer un compte gratuit