<pre id="vvttv"><mark id="vvttv"><progress id="vvttv"></progress></mark></pre>
    <pre id="vvttv"></pre>

      <p id="vvttv"></p>

          <p id="vvttv"></p>

                <p id="vvttv"></p>

                <pre id="vvttv"><cite id="vvttv"><progress id="vvttv"></progress></cite></pre>

                  <output id="vvttv"><dfn id="vvttv"><th id="vvttv"></th></dfn></output>

                    <p id="vvttv"></p>

                    習題 37: 復習各種符號?

                    現在該復習你學過的符號和 python 關鍵字了,而且你在本節還會學到一些新的東西。我在這里所作的是將所有的 Python 符號和關鍵字列出來,這些都是值得掌握的重點。

                    在這節課中,你需要復習每一個關鍵字,從記憶中想起它的作用并且寫下來,接著上網搜索它真正的功能。有些內容可能是無法搜索的,所以這對你可能有些難度,不過你還是需要堅持嘗試。

                    如果你發現記憶中的內容有誤,就在索引卡片上寫下正確的定義,試著將自己的記憶糾正過來。如果你就是不知道它的定義,就把它也直接寫下來,以后再做研究。

                    最后,將每一種符號和關鍵字用在程序里,你可以用一個小程序來做,也可以盡量多謝一些程序來鞏固記憶。這里的關鍵點是明白各個符號的作用,確認自己沒搞錯,如果搞錯了就糾正過來,然后將其用在程序里,并且通過這樣的方式鞏固自己的記憶。

                    Keywords(關鍵字)?

                    • and
                    • del
                    • from
                    • not
                    • while
                    • as
                    • elif
                    • global
                    • or
                    • with
                    • assert
                    • else
                    • if
                    • pass
                    • yield
                    • break
                    • except
                    • import
                    • print
                    • class
                    • exec
                    • in
                    • raise
                    • continue
                    • finally
                    • is
                    • return
                    • def
                    • for
                    • lambda
                    • try

                    數據類型?

                    針對每一種數據類型,都舉出一些例子來,例如針對 string,你可以舉出一些字符串,針對 number,你可以舉出一些數字。

                    • True
                    • False
                    • None
                    • strings
                    • numbers
                    • floats
                    • lists

                    字符串轉義序列(Escape Sequences)?

                    對于字符串轉義序列,你需要再字符串中應用它們,確認自己清楚地知道它們的功能。

                    • \\
                    • \'
                    • \"
                    • \a
                    • \b
                    • \f
                    • \n
                    • \r
                    • \t
                    • \v

                    字符串格式化(String Formats)?

                    一樣的,在字符串中使用它們,確認它們的功能。

                    • %d
                    • %i
                    • %o
                    • %u
                    • %x
                    • %X
                    • %e
                    • %E
                    • %f
                    • %F
                    • %g
                    • %G
                    • %c
                    • %r
                    • %s
                    • %%

                    操作符號?

                    有些操作符號你可能還不熟悉,不過還是一一看過去,研究一下它們的功能,如果你研究不出來也沒關系,記錄下來日后解決。

                    • +
                    • -
                    • *
                    • **
                    • /
                    • //
                    • %
                    • <
                    • >
                    • <=
                    • >=
                    • ==
                    • !=
                    • <>
                    • ( )
                    • [ ]
                    • { }
                    • @
                    • ,
                    • :
                    • .
                    • =
                    • ;
                    • +=
                    • -=
                    • *=
                    • /=
                    • //=
                    • %=
                    • **=

                    花一個星期學習這些東西,如果你能提前完成就更好了。我們的目的是覆蓋到所有的符號 類型,確認你已經牢牢記住它們。另外很重要的一點是這樣你可以找出自己還不知道哪些 東西,為自己日后學習找到一些方向。

                    Project Versions

                    Table Of Contents

                    Previous topic

                    習題 36: 設計和調試

                    Next topic

                    習題 38: 閱讀代碼

                    This Page

                      <pre id="vvttv"><mark id="vvttv"><progress id="vvttv"></progress></mark></pre>
                      <pre id="vvttv"></pre>

                        <p id="vvttv"></p>

                            <p id="vvttv"></p>

                                  <p id="vvttv"></p>

                                  <pre id="vvttv"><cite id="vvttv"><progress id="vvttv"></progress></cite></pre>

                                    <output id="vvttv"><dfn id="vvttv"><th id="vvttv"></th></dfn></output>

                                      <p id="vvttv"></p>

                                      这里只有精品视频