Multiple choiceExercise 2/7Basic10 XP
Elements by index
Task
What does this program print?
z = [10, 20, 30, 40]
print(z[1], z[-2])
You need to know
Your answer
Hints
Try it yourself first. Each hint reveals a little more - and lowers the reward a little.
Signed out, hints are free - but no XP is awarded either.
Solution
The solution unlocks after the last hint.