Skip to content

Commit

Permalink
doc: update docs/python.md (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhw0306 committed Sep 15, 2023
1 parent b142575 commit bbd3292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,10 @@ Enter your name: Tom

```python
>>> # 是否以 H 开头
>>> "Hello, world!".endswith("H")
>>> "Hello, world!".startswith("H")
True
>>> # 是否以 h 开头
>>> "Hello, world!".endswith("h")
>>> "Hello, world!".startswith("h")
False
>>> # 是否以 ! 结尾
>>> "Hello, world!".endswith("!")
Expand Down

0 comments on commit bbd3292

Please sign in to comment.