Skip to content

Commit

Permalink
"s.lower().startswith('b', 10): True\n" selfteaching#664
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolai authored Apr 16, 2019
1 parent c3478c1 commit d299e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions markdown/Part.1.E.5.strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ Complex is better than complicated."""
# str.startswith(prefix[, start[, end]])
print("s.lower().startswith('S'):", \
s.lower().startswith('S'))
print("s.lower().startswith('b, 10'):", \
print("s.lower().startswith('b', 10):", \
s.lower().startswith('b', 10))
print("s.lower().startswith('e', 11, 20):", \
s.lower().startswith('e', 11, 20))
Expand All @@ -579,7 +579,7 @@ print("s.lower().endswith('.', 10, 20):", \
```

s.lower().startswith('S'): False
s.lower().startswith('b'): True
s.lower().startswith('b', 10): True
s.lower().startswith('e', 11, 20): True
s.lower().endswith('.'): True
s.lower().endswith('.', 10): True
Expand Down

0 comments on commit d299e1d

Please sign in to comment.