Skip to content

Commit ccf86af

Browse files
committed
reorganize the summary
1 parent 9764e99 commit ccf86af

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

handy-stuff-strings.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,18 +374,18 @@ If you need to know more about formatting I recommend reading
374374

375375
## Summary
376376

377-
- Slicing returns a copy of a string with indexes from one index to
378-
another index. The indexes work like this:
379-
380-
![Slicing](images/slicing3.png)
377+
- The `in` keyword can be used for checking if a string contains another
378+
string.
381379

382380
- Indexing returns one character of a string. Remember that you don't
383381
need a `:` with indexing. The indexes work like this:
384382

385383
![Indexing](images/indexing3.png)
386384

387-
- The `in` keyword can be used for checking if a string contains another
388-
string.
385+
- Slicing returns a copy of a string with indexes from one index to
386+
another index. The indexes work like this:
387+
388+
![Slicing](images/slicing3.png)
389389

390390
- Python has many string methods. Use [the documentation]
391391
(https://docs.python.org/3/library/stdtypes.html#string-methods)

0 commit comments

Comments
 (0)