0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
In the world of programming, counting is a bit strange!
We don't start counting at 1
, we start at 0
instead.
Each item in a list has an index that refers to its spot in the list.
Take the following list as an example:
names = ["Bob", "Lane", "Alice", "Breanna"]
Bob
Lane
Alice
Breanna
Which index refers to the second item in a list?