@@ -485,7 +485,7 @@ msgid ""
485485"hand side expressions are evaluated from the left to the right."
486486msgstr ""
487487"第一行含有一个 *多重赋值*: 变量 ``a`` 和 ``b`` 同时得到了新值 0 和 1. 最后一行又用了一次多重赋值, "
488- "这展示出了右手边的表达式 ,在任何赋值发生之前就被求值了。右手边的表达式是从左到右被求值的。"
488+ "这体现出了右手边的表达式 ,在任何赋值发生之前就被求值了。右手边的表达式是从左到右被求值的。"
489489
490490#: ../../tutorial/introduction.rst:486
491491msgid ""
@@ -498,6 +498,10 @@ msgid ""
498498"than), ``>`` (greater than), ``==`` (equal to), ``<=`` (less than or equal "
499499"to), ``>=`` (greater than or equal to) and ``!=`` (not equal to)."
500500msgstr ""
501+ " :keyword:`while` 循环只要它的条件 (这里指: ``b < 10``) 保持为真就会一直执行. 在 Python 中, 就和 C "
502+ "一样, 任何非零整数都为真; 零为假. 这个条件的值也可以是字符串或是列表,事实上任何*序列*都可以; 长度非零就为真, 空序列就为假. "
503+ "在这个例子里,检测条件是一个简单的比较. 标准的比较操作符和 C 语言里是一样的写法: ``<`` (小于), ``>`` (大于), ``==`` "
504+ "(等于), ``<=`` (小于或等于), ``>=`` (大于或等于) ``!=`` (不等于)."
501505
502506#: ../../tutorial/introduction.rst:495
503507msgid ""
@@ -510,6 +514,10 @@ msgid ""
510514"(since the parser cannot guess when you have typed the last line). Note "
511515"that each line within a basic block must be indented by the same amount."
512516msgstr ""
517+ " *循环体* 是 *缩进的*: 缩进是 Python 组织语句的方式. 在交互式命令行里,你得给每个缩进的行敲下 Tab "
518+ "键或者(多个)空格键。实际上用文本编辑器的话,你要准备更复杂的输入方式; 所有像样的文本编辑器都有自动缩进的设置. "
519+ "交互式命令行里,当一个组合的语句输入时, 需要在最后敲一个空白行表示完成 (因为语法分析器猜不出来你什么时候打的是最后一行). "
520+ "注意,在同一块语句中的每一行,都要缩进相同的长度。"
513521
514522#: ../../tutorial/introduction.rst:504
515523msgid ""
@@ -525,7 +533,7 @@ msgstr ""
525533msgid ""
526534"The keyword argument *end* can be used to avoid the newline after the "
527535"output, or end the output with a different string::"
528- msgstr ""
536+ msgstr "关键字参数 *end* 可以用来取消输出后面的换行, 或是用另外一个字符串来结尾:: "
529537
530538#: ../../tutorial/introduction.rst:527
531539msgid "Footnotes"
0 commit comments