Initial commit

This commit is contained in:
2025-07-04 19:26:39 +02:00
commit c8682d4801
248 changed files with 12519 additions and 0 deletions

View File

@ -0,0 +1,13 @@
is_on = True
saisie = input("Saisissez une commande (Marche ou Arrêt) :")
if saisie == "Marche":
if is_on is False:
print("Allumage en cours…")
else:
print("Déjà allumé !")
elif saisie == "Arrêt":
if is_on:
print("Extinction…")
else:
print("Déjà éteint !")