1
0
Bifurcation 0
miroir de https://github.com/PAPAMICA/Wiki-Tech.io.git synchronisé 2024-07-07 02:20:13 +02:00

docs: update Python/Conditions

Cette révision appartient à :
Mickael Asseline 2021-04-28 18:51:55 +00:00 révisé par Mickael Asseline
Parent 34affb8684
révision 1f51d7e3ff

Voir le fichier

@ -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</code></pre>
<pre><code class="language-python">refrigerateur_vide = 1
if refrigerateur_vide=1:
print "Faire des courses"</code></pre>
<p>&nbsp;</p>
<blockquote>
<p>Attention : Dans d'autres langages de programmation tel que le <strong>C#</strong>, la fonction est délimitée par <strong>{}</strong>. En python, la fonction commence par <strong>:</strong> et c'est l'indentation qui délimite.</p>
<p><strong>Attention :</strong> Dans d'autres langages de programmation tel que le <strong>C#</strong>, la fonction est délimitée par <strong>{}</strong>. En python, la fonction commence par <strong>:</strong> et c'est l'indentation qui délimite.</p>
</blockquote>
<p><i>Démonstration :</i></p>
<pre><code class="language-python">refrigerateur_vide = 1