Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

operator & operand: 操作子 & 操作元 -> 運算子 & 運算元#14

Merged
adrianliaw merged 1 commit intopython-doc-tw:3.6fromchinghao-tw:3.6
Jun 11, 2018
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletionstutorial/introduction.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Python 3.6 TW\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-23 22:00+0800\n"
"PO-Revision-Date: 2018-06-04 07:16+0000\n"
"PO-Revision-Date: 2018-06-10 04:13+0000\n"
"Last-Translator: Ching-Hao Liu <chinghao.liu@gmail.com>\n"
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n"
"MIME-Version: 1.0\n"
Expand DownExpand Up@@ -70,7 +70,7 @@ msgid ""
"operators ``+``, ``-``, ``*`` and ``/`` work just like in most other "
"languages (for example, Pascal or C); parentheses (``()``) can be used for "
"grouping. For example::"
msgstr "直譯器如同一台簡單的計算機:你可以輸入一個 expression(運算式),它會寫出該式的值。Expression 的語法很使用:操作子 ``+``、``-``、``*`` 和 ``/`` 的行為如同大多數的程式語言(例如:Pascal 或 C);括號 ``()`` 可以用來分群。例如:\n\n::"
msgstr "直譯器如同一台簡單的計算機:你可以輸入一個 expression(運算式),它會寫出該式的值。Expression 的語法很使用:運算子 ``+``、``-``、``*`` 和 ``/`` 的行為如同大多數的程式語言(例如:Pascal 或 C);括號 ``()`` 可以用來分群。例如:\n\n::"

#: ../../tutorial/introduction.rst:59
msgid ""
Expand All@@ -84,13 +84,13 @@ msgid ""
"Division (``/``) always returns a float. To do :term:`floor division` and "
"get an integer result (discarding any fractional result) you can use the "
"``//`` operator; to calculate the remainder you can use ``%``::"
msgstr "除法 (``/``) 永遠回傳一個 float。如果要做 :term:`floor division` 並拿到整數的結果(即去除所有小數點的部份),你可以使用 ``//``操作子;計算餘數可以使用 ``%``:\n\n::"
msgstr "除法 (``/``) 永遠回傳一個 float。如果要做 :term:`floor division` 並拿到整數的結果(即去除所有小數點的部份),你可以使用 ``//``運算子;計算餘數可以使用 ``%``:\n\n::"

#: ../../tutorial/introduction.rst:77
msgid ""
"With Python, it is possible to use the ``**`` operator to calculate powers "
"[#]_::"
msgstr "在 Python 中,計算冪次 (powers) 可以使用 ``**``操作子 [#]_:\n\n::"
msgstr "在 Python 中,計算冪次 (powers) 可以使用 ``**``運算子 [#]_:\n\n::"

#: ../../tutorial/introduction.rst:84
msgid ""
Expand All@@ -108,7 +108,7 @@ msgstr "如果一個變數未被「定義 (defined)」(即變數未被賦值
msgid ""
"There is full support for floating point; operators with mixed type operands"
" convert the integer operand to floating point::"
msgstr "浮點數的運算有完善的支援,操作子 (operator)遇上混合的操作元 (operand)時會把整數的操作元轉換為浮點數:\n\n::"
msgstr "浮點數的運算有完善的支援,運算子 (operator)遇上混合的運算元 (operand)時會把整數的運算元轉換為浮點數:\n\n::"

#: ../../tutorial/introduction.rst:106
msgid ""
Expand DownExpand Up@@ -182,7 +182,7 @@ msgstr "會產生以下的輸出(注意第一個換行並沒有被包含進字
msgid ""
"Strings can be concatenated (glued together) with the ``+`` operator, and "
"repeated with ``*``::"
msgstr "字串可以使用 ``+``操作子連接 (concatenate),並用 ``*`` 重覆該字串的內容:\n\n::"
msgstr "字串可以使用 ``+``運算子連接 (concatenate),並用 ``*`` 重覆該字串的內容:\n\n::"

#: ../../tutorial/introduction.rst:209
msgid ""
Expand DownExpand Up@@ -333,7 +333,7 @@ msgstr ":ref:`old-string-formatting`"
msgid ""
"The old formatting operations invoked when strings are the left operand of "
"the ``%`` operator are described in more detail here."
msgstr "在字串為 ``%``的左操作元時,將觸發舊的字串格式化操作,更多的細節在本連結中介紹。"
msgstr "在字串為 ``%``的左運算元時,將觸發舊的字串格式化操作,更多的細節在本連結中介紹。"

#: ../../tutorial/introduction.rst:367
msgid "Lists"
Expand DownExpand Up@@ -427,7 +427,7 @@ msgid ""
"standard comparison operators are written the same as in C: ``<`` (less "
"than), ``>`` (greater than), ``==`` (equal to), ``<=`` (less than or equal "
"to), ``>=`` (greater than or equal to) and ``!=`` (not equal to)."
msgstr ":keyword:`while` 迴圈只要它的條件為真,將會一直重覆執行。在 Python 中如同 C 語言,任何非零的整數值為真 (true);零為偽 (false)。條件可以是字串、list、甚至是任何序列型別;任何非零長度的序列為真,即空的序列為假。本例子使用的條件是個簡單的比較。標準的比較操作子 (comparison operators) 使用如同 C 語言一樣的符號:\\ ``<``\\ (小於)、\\ ``>``\\ (大於)、\\ ``==``\\ (等於)、\\ ``<=``\\ (小於等於)、\\ ``>=``\\ (大於等於)以及\\ ``!=``\\ (不等於)。"
msgstr ":keyword:`while` 迴圈只要它的條件為真,將會一直重覆執行。在 Python 中如同 C 語言,任何非零的整數值為真 (true);零為偽 (false)。條件可以是字串、list、甚至是任何序列型別;任何非零長度的序列為真,即空的序列為假。本例子使用的條件是個簡單的比較。標準的比較運算子 (comparison operators) 使用如同 C 語言一樣的符號:\\ ``<``\\ (小於)、\\ ``>``\\ (大於)、\\ ``==``\\ (等於)、\\ ``<=``\\ (小於等於)、\\ ``>=``\\ (大於等於)以及\\ ``!=``\\ (不等於)。"

#: ../../tutorial/introduction.rst:495
msgid ""
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp