Skip to content

Commit

Permalink
Deployed b76ec17 with MkDocs version: 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Sep 14, 2023
1 parent 9785421 commit ce0c047
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
8 changes: 7 additions & 1 deletion T1_Demarrer_en_Python/1.2_Boucle_for/cours/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3948,7 +3948,13 @@ <h3 id="21-iterer-sur-une-chaine-de-caracteres">2.1 Itérer sur une chaîne de c
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;bonjour&quot;</span><span class="p">)</span>
</code></pre></div></td></tr></table></div></p>
</div>
<div class="tabbed-block"></div>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="n">bonjour</span>
<span class="n">bonjour</span>
<span class="n">bonjour</span>
<span class="n">bonjour</span>
</code></pre></div>
</div>
</div>
</div>
</div>
Expand Down
24 changes: 22 additions & 2 deletions T1_Demarrer_en_Python/1.2_Boucle_for/exercices/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3794,7 +3794,16 @@ <h1 id="exercices-sur-la-boucle-for-in">Exercices sur la boucle <code>for ... in
<span class="n">Roschdy</span> <span class="n">a</span> <span class="n">eu</span> <span class="n">le</span> <span class="n">César</span> <span class="n">du</span> <span class="n">meilleur</span> <span class="n">acteur</span>
</code></pre></div></p>
</div>
<div class="tabbed-block"></div>
<div class="tabbed-block">
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
<span class="normal">2</span>
<span class="normal">3</span>
<span class="normal">4</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="n">liste_acteurs</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;Tahar&#39;</span><span class="p">,</span> <span class="s1">&#39;Omar&#39;</span><span class="p">,</span> <span class="s1">&#39;Guillaume&#39;</span><span class="p">,</span> <span class="s1">&#39;Swann&#39;</span><span class="p">,</span> <span class="s1">&#39;Alex&#39;</span><span class="p">,</span> <span class="s1">&#39;Roschdy&#39;</span><span class="p">]</span>

<span class="k">for</span> <span class="n">acteur</span> <span class="ow">in</span> <span class="n">liste_acteurs</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="n">acteur</span><span class="p">,</span> <span class="s2">&quot;a eu le César du meilleur acteur&quot;</span><span class="p">)</span>
</code></pre></div></td></tr></table></div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -3825,7 +3834,18 @@ <h1 id="exercices-sur-la-boucle-for-in">Exercices sur la boucle <code>for ... in
</code></pre></div></td></tr></table></div>
<p>Cette variable <code>chaine</code> est appelée un <strong>accumulateur</strong>.</p>
</div>
<div class="tabbed-block"></div>
<div class="tabbed-block">
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">1</span>
<span class="normal">2</span>
<span class="normal">3</span>
<span class="normal">4</span>
<span class="normal">5</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="n">chaine</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span>
<span class="k">for</span> <span class="n">lettre</span> <span class="ow">in</span> <span class="p">[</span><span class="s1">&#39;b&#39;</span><span class="p">,</span> <span class="s1">&#39;r&#39;</span><span class="p">,</span> <span class="s1">&#39;a&#39;</span><span class="p">,</span> <span class="s1">&#39;v&#39;</span><span class="p">,</span> <span class="s1">&#39;o&#39;</span><span class="p">]:</span>
<span class="n">chaine</span> <span class="o">+=</span> <span class="n">lettre</span>

<span class="nb">print</span><span class="p">(</span><span class="n">chaine</span><span class="p">)</span>
</code></pre></div></td></tr></table></div>
</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit ce0c047

Please sign in to comment.