Skip to content

Commit 5ed42cc

Browse files
committed
Fixed small typo
1 parent 6e303c0 commit 5ed42cc

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/lessons/03_conditional_statements.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5336,7 +5336,7 @@ <h2 id="toc-title">On this page</h2>
53365336

53375337
<div>
53385338
<div class="description">
5339-
<p>This lesson introduces conditional logic in Python, showing how to use if, elif, else, comparison operators and logical operators to evaluate conditions.</p>
5339+
<p>This lesson introduces conditional logic in Python, showing how to use <code>if</code>, <code>elif</code>, <code>else</code>, comparison operators and logical operators to evaluate conditions.</p>
53405340
</div>
53415341
</div>
53425342

@@ -5494,8 +5494,8 @@ <h3 class="anchored" data-anchor-id="indentation-matters">Indentation matters</h
54945494
<span id="cb15-6"><a href="#cb15-6" aria-hidden="true" tabindex="-1"></a><span class="bu">print</span>(<span class="st">&quot;x is greater than 10&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
54955495
<div class="cell-output cell-output-error">
54965496
<div class="ansi-escaped-output">
5497-
<pre><span class="ansi-cyan-fg"> Cell </span><span class="ansi-green-fg">In[9], line 6</span>
5498-
<span class="ansi-red-fg"> print(&quot;x is greater than 10&quot;)</span>
5497+
<pre> <span class="ansi-cyan-fg">Cell</span><span class="ansi-cyan-fg"> </span><span class="ansi-green-fg">In[9]</span><span class="ansi-green-fg">, line 6</span>
5498+
<span class="ansi-red-fg"> </span><span class="ansi-red-fg">print(&quot;x is greater than 10&quot;)</span>
54995499
^
55005500
<span class="ansi-red-fg">IndentationError</span><span class="ansi-red-fg">:</span> expected an indented block after &#39;if&#39; statement on line 3
55015501
</pre>
@@ -5672,8 +5672,8 @@ <h3 class="anchored" data-anchor-id="elif-statements"><code>elif</code> statemen
56725672
<span id="cb28-16"><a href="#cb28-16" aria-hidden="true" tabindex="-1"></a> <span class="bu">print</span>(<span class="st">&quot;Hello, Noor!&quot;</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
56735673
<div class="cell-output cell-output-error">
56745674
<div class="ansi-escaped-output">
5675-
<pre><span class="ansi-cyan-fg"> Cell </span><span class="ansi-green-fg">In[16], line 14</span>
5676-
<span class="ansi-red-fg"> elif name == &quot;Noor&quot;:</span>
5675+
<pre> <span class="ansi-cyan-fg">Cell</span><span class="ansi-cyan-fg"> </span><span class="ansi-green-fg">In[16]</span><span class="ansi-green-fg">, line 14</span>
5676+
<span class="ansi-red-fg"> </span><span class="ansi-red-fg">elif name == &quot;Noor&quot;:</span>
56775677
^
56785678
<span class="ansi-red-fg">SyntaxError</span><span class="ansi-red-fg">:</span> invalid syntax
56795679
</pre>
@@ -6250,7 +6250,7 @@ <h3 class="anchored" data-anchor-id="combining-logical-operators">Combining logi
62506250
<div class="sourceCode" id="cb41" data-shortcodes="false"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb41-1"><a href="#cb41-1" aria-hidden="true" tabindex="-1"></a><span class="co">---</span></span>
62516251
<span id="cb41-2"><a href="#cb41-2" aria-hidden="true" tabindex="-1"></a><span class="an">title:</span><span class="co"> &quot;Conditional Statements&quot;</span></span>
62526252
<span id="cb41-3"><a href="#cb41-3" aria-hidden="true" tabindex="-1"></a><span class="an">description:</span><span class="co"> |</span></span>
6253-
<span id="cb41-4"><a href="#cb41-4" aria-hidden="true" tabindex="-1"></a><span class="co"> This lesson introduces conditional logic in Python, showing how to use if, elif, else, comparison operators and logical operators to evaluate conditions.</span></span>
6253+
<span id="cb41-4"><a href="#cb41-4" aria-hidden="true" tabindex="-1"></a><span class="co"> This lesson introduces conditional logic in Python, showing how to use `if`, `elif`, `else`, comparison operators and logical operators to evaluate conditions.</span></span>
62546254
<span id="cb41-5"><a href="#cb41-5" aria-hidden="true" tabindex="-1"></a><span class="an">author:</span></span>
62556255
<span id="cb41-6"><a href="#cb41-6" aria-hidden="true" tabindex="-1"></a><span class="co"> - Noor Sohail</span></span>
62566256
<span id="cb41-7"><a href="#cb41-7" aria-hidden="true" tabindex="-1"></a><span class="co"> - Will Gammerdinger</span></span>

lessons/03_conditional_statements.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Conditional Statements"
33
description: |
4-
This lesson introduces conditional logic in Python, showing how to use if, elif, else, comparison operators and logical operators to evaluate conditions.
4+
This lesson introduces conditional logic in Python, showing how to use `if`, `elif`, `else`, comparison operators and logical operators to evaluate conditions.
55
author:
66
- Noor Sohail
77
- Will Gammerdinger

0 commit comments

Comments
 (0)