Skip to content

Commit dd98ac4

Browse files
Update README.md
1 parent f6122df commit dd98ac4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

05_Lists/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ print(fruits[-1]) # Output: cherry
2424
```
2525

2626
### Slicing
27+
**Slicing** in Python refers to extracting a portion (or "slice") of a sequence like a list, tuple, string, or any other iterable that supports indexing.
2728
```python
2829
numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
2930
print(numbers[2:6]) # Output: [2, 3, 4, 5]

0 commit comments

Comments
 (0)