mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-16 20:21:22 +08:00
doc: update python.md (#221)
This commit is contained in:
@ -441,6 +441,17 @@ Enter your name: Tom
|
||||
True
|
||||
```
|
||||
|
||||
### 转义符号
|
||||
| 转义符号 | 对应的操作 |
|
||||
|---|---|
|
||||
| `\\` | 输出反斜杠 |
|
||||
| `\'` | 输出单引号 |
|
||||
| `\"` | 输出双引号 |
|
||||
| `\n` | 换行 |
|
||||
| `\t` | 水平制表符 |
|
||||
| `\r` | 光标回到首位 |
|
||||
| `\b` | 退格 |
|
||||
|
||||
Python F 字符串(自 Python 3.6+ 起)
|
||||
----------------
|
||||
|
||||
|
Reference in New Issue
Block a user