Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #102

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all 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
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ SyntaxError: invalid syntax

---

### ▶ Half triple-quoted strings
### ▶ Half triple-quoted strings (which is wrong in original version)

**Output:**
```py
Expand All @@ -712,7 +712,8 @@ wtfpython
>>> # print('''wtfpython')
>>> # print("""wtfpython")
```

(by zc_):
in fact, `print ‘’‘wtfpython'` will not raise Error, it will wait you to enter another `'''` as the end of multi-line string.
#### 💡 Explanation:
+ Python supports implicit [string literal concatenation](https://docs.python.org/2/reference/lexical_analysis.html#string-literal-concatenation), Example,
```
Expand Down