Skip to content

Commit

Permalink
Deployed 66a2a6a with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cheung4843 committed Feb 4, 2024
1 parent b06f1b2 commit 31848a4
Show file tree
Hide file tree
Showing 20 changed files with 1,696 additions and 326 deletions.
23 changes: 23 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@








Expand Down Expand Up @@ -509,6 +511,27 @@



<li class="md-nav__item">
<a href="/LMcpsBook/fundamental/python/variable_and_input/" class="md-nav__link">


<span class="md-ellipsis">
Variables and Input
</span>


</a>
</li>










<li class="md-nav__item">
<a href="/LMcpsBook/fundamental/python/operators/" class="md-nav__link">

Expand Down
23 changes: 23 additions & 0 deletions about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@








Expand Down Expand Up @@ -517,6 +519,27 @@



<li class="md-nav__item">
<a href="../fundamental/python/variable_and_input/" class="md-nav__link">


<span class="md-ellipsis">
Variables and Input
</span>


</a>
</li>










<li class="md-nav__item">
<a href="../fundamental/python/operators/" class="md-nav__link">

Expand Down
23 changes: 23 additions & 0 deletions fundamental/cpp/create_env/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@








Expand Down Expand Up @@ -524,6 +526,27 @@



<li class="md-nav__item">
<a href="../../python/variable_and_input/" class="md-nav__link">


<span class="md-ellipsis">
Variables and Input
</span>


</a>
</li>










<li class="md-nav__item">
<a href="../../python/operators/" class="md-nav__link">

Expand Down
23 changes: 23 additions & 0 deletions fundamental/cpp/hello_world/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@








Expand Down Expand Up @@ -524,6 +526,27 @@



<li class="md-nav__item">
<a href="../../python/variable_and_input/" class="md-nav__link">


<span class="md-ellipsis">
Variables and Input
</span>


</a>
</li>










<li class="md-nav__item">
<a href="../../python/operators/" class="md-nav__link">

Expand Down
23 changes: 23 additions & 0 deletions fundamental/cpp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@








Expand Down Expand Up @@ -524,6 +526,27 @@



<li class="md-nav__item">
<a href="../python/variable_and_input/" class="md-nav__link">


<span class="md-ellipsis">
Variables and Input
</span>


</a>
</li>










<li class="md-nav__item">
<a href="../python/operators/" class="md-nav__link">

Expand Down
23 changes: 23 additions & 0 deletions fundamental/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@








Expand Down Expand Up @@ -524,6 +526,27 @@



<li class="md-nav__item">
<a href="python/variable_and_input/" class="md-nav__link">


<span class="md-ellipsis">
Variables and Input
</span>


</a>
</li>










<li class="md-nav__item">
<a href="python/operators/" class="md-nav__link">

Expand Down
23 changes: 23 additions & 0 deletions fundamental/python/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@








Expand Down Expand Up @@ -526,6 +528,27 @@



<li class="md-nav__item">
<a href="variable_and_input/" class="md-nav__link">


<span class="md-ellipsis">
Variables and Input
</span>


</a>
</li>










<li class="md-nav__item">
<a href="operators/" class="md-nav__link">

Expand Down
23 changes: 23 additions & 0 deletions fundamental/python/lists/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@








Expand Down Expand Up @@ -526,6 +528,27 @@



<li class="md-nav__item">
<a href="../variable_and_input/" class="md-nav__link">


<span class="md-ellipsis">
Variables and Input
</span>


</a>
</li>










<li class="md-nav__item">
<a href="../operators/" class="md-nav__link">

Expand Down
31 changes: 27 additions & 4 deletions fundamental/python/operators/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="canonical" href="https://cheung4843.github.io/LMcpsBook/fundamental/python/operators/">


<link rel="prev" href="../say_hello/">
<link rel="prev" href="../variable_and_input/">


<link rel="next" href="../selection_structures/">
Expand Down Expand Up @@ -453,6 +453,8 @@








Expand Down Expand Up @@ -524,6 +526,27 @@





<li class="md-nav__item">
<a href="../variable_and_input/" class="md-nav__link">


<span class="md-ellipsis">
Variables and Input
</span>


</a>
</li>











Expand Down Expand Up @@ -1402,7 +1425,7 @@ <h2 id="bonus_f-string_for_float">Bonus: f-string for float<a class="headerlink"
</span></code></pre></div></td></tr></table></div>
<p>@EditTime : 2024-01-27 11:52</p>
<h2 id="bonus_map_for_input">Bonus: map for input<a class="headerlink" href="#bonus_map_for_input" title="Permanent link"></a></h2>
<p>再次複習 <a href="../say_hello/#multiple_input">Say Hello to Python - Mutiple Input</a> 中的例子,我們可以用 <code>split()</code> 來將輸入的字串切割成多個字串。</p>
<p>再次複習 <a href="../variable_and_input/#multiple_input">Variable and Input - Mutiple Input</a> 中的例子,我們可以用 <code>split()</code> 來將輸入的字串切割成多個字串。</p>
<p>但是如果我們想要將這些字串轉換成整數,我們可以怎麼做呢?</p>
<div class="language-python highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-24-1">1</a></span>
<span class="normal"><a href="#__codelineno-24-2">2</a></span></pre></div></td><td class="code"><div><pre><span></span><code><span id="__span-24-1"><a id="__codelineno-24-1" name="__codelineno-24-1"></a><span class="n">a</span><span class="p">,</span> <span class="n">b</span><span class="p">,</span> <span class="n">c</span> <span class="o">=</span> <span class="nb">input</span><span class="p">()</span><span class="o">.</span><span class="n">split</span><span class="p">()</span>
Expand Down Expand Up @@ -1536,7 +1559,7 @@ <h2 id="assignment">Assignment<a class="headerlink" href="#assignment" title="Pe
<nav class="md-footer__inner md-grid" aria-label="頁腳" >


<a href="../say_hello/" class="md-footer__link md-footer__link--prev" aria-label="上一頁: Say Hello to Python">
<a href="../variable_and_input/" class="md-footer__link md-footer__link--prev" aria-label="上一頁: Variables and Input">
<div class="md-footer__button md-icon">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
Expand All @@ -1546,7 +1569,7 @@ <h2 id="assignment">Assignment<a class="headerlink" href="#assignment" title="Pe
上一頁
</span>
<div class="md-ellipsis">
Say Hello to Python
Variables and Input
</div>
</div>
</a>
Expand Down
Loading

0 comments on commit 31848a4

Please sign in to comment.