Skip to content
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 06_Day_Tuples/06_tuples.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ len(tpl)
last_fruit = fruits[last_index]
```

- Negative indexing
Negative indexing means beginning from the end, -1 refers to the last item, -2 refers to the second last and the negative of the list/tuple length refers to the first item.
- Negative indexing
means beginning from the end, -1 refers to the last item, -2 refers to the second last and the negative of the list/tuple length refers to the first item.

![Tuple Negative indexing](../images/tuple_negative_indexing.png)

```py
Expand Down