未验证 提交 3aea7124 编写于 作者: D dongfangtianyu 提交者: GitHub

fix table style n py/4.md

修正表显示样式
上级 2b7029b9
......@@ -16,15 +16,15 @@ Python 3.7 中有 33 个关键字。 随着时间的推移,此数字可能会
`True``False``None`之外的所有关键字均使用小写字母,并且必须照原样书写。 所有关键字的列表如下。
| | | | | |
| --- | --- | --- | --- | --- | --- |
| `False` | `await` | `else` | `import` | `pass` |
| `None` | `break` | `except` | `in` | `raise` |
| `True` | `class` | `finally` | `is` | `return` |
| `and` | `continue` | `for` | `lambda` | `try` |
| `as` | `def` | `from` | `nonlocal` | `while` |
| `assert` | `del` | `global` | `not` | `with` |
| `async` | `elif` | `if` | `or` | `yield` |
| | | | | |
| -------- | ---------- | --------- | ---------- | -------- |
| `False` | `await` | `else` | `import` | `pass` |
| `None` | `break` | `except` | `in` | `raise` |
| `True` | `class` | `finally` | `is` | `return` |
| `and` | `continue` | `for` | `lambda` | `try` |
| `as` | `def` | `from` | `nonlocal` | `while` |
| `assert` | `del` | `global` | `not` | `with` |
| `async` | `elif` | `if` | `or` | `yield` |
一次查看所有关键字并试图弄清它们的含义可能不胜枚举。
......@@ -80,4 +80,4 @@ Python 是区分大小写的语言。 这意味着`Variable`和`variable`不同
始终给标识符一个有意义的名称。 尽管`c = 10`是一个有效的名称,但编写`count = 10`会更有意义,并且在经过一段较​​长的间隔后查看代码时,更容易弄清楚它代表什么。
可以使用下划线分隔多个单词,例如`this_is_a_long_variable`
\ No newline at end of file
可以使用下划线分隔多个单词,例如`this_is_a_long_variable`
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册