From 1f51d7e3ffe04476ca8bc418a695f4eca61de9bb Mon Sep 17 00:00:00 2001 From: Mickael Asseline Date: Wed, 28 Apr 2021 18:51:55 +0000 Subject: [PATCH] docs: update Python/Conditions --- Python/Conditions.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Python/Conditions.html b/Python/Conditions.html index 06b6903..e746a9c 100644 --- a/Python/Conditions.html +++ b/Python/Conditions.html @@ -2,7 +2,7 @@ title: Structures conditionnelles description: published: true -date: 2021-04-28T18:50:43.277Z +date: 2021-04-28T18:51:54.130Z tags: editor: ckeditor dateCreated: 2021-04-28T18:50:43.277Z @@ -18,8 +18,9 @@ Fin si
refrigerateur_vide = 1
 if refrigerateur_vide=1:
   print "Faire des courses"
+

 

-

Attention : Dans d'autres langages de programmation tel que le C#, la fonction est délimitée par {}. En python, la fonction commence par : et c'est l'indentation qui délimite.

+

Attention : Dans d'autres langages de programmation tel que le C#, la fonction est délimitée par {}. En python, la fonction commence par : et c'est l'indentation qui délimite.

Démonstration :

refrigerateur_vide = 1