Skip to content

Commit d7c9381

Browse files
authored
Merge pull request bradtraversy#7 from Nikita6599/master
Update lists.py
2 parents ba14199 + 46a0938 commit d7c9381

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

python_sandbox_finished/lists.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
# Get a value
1111
print(fruits[1])
1212

13+
# Get the last value
14+
print(fruits[-1])
15+
16+
17+
1318
# Get length
1419
print(len(fruits))
1520

0 commit comments

Comments
 (0)