Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Test your understanding with targeted questions related to the topic.
Question 1
Easy
Access the first element from the list fruits = ['apple', 'banana', 'mango'].
💡 Hint: Remember to use index 0.
Question 2
Easy
What does fruits[-1] return if fruits = ['apple', 'banana', 'mango']?
💡 Hint: Think about the last item in the list.
Practice 4 more questions and get performance evaluation
Engage in quick quizzes to reinforce what you've learned and check your comprehension.
Question 1
What will fruits[0] return if fruits = ['apple', 'banana', 'mango']?
💡 Hint: Look at the first position in the list.
Question 2
Is fruits[-1] equal to the last item in the list?
💡 Hint: Think about what -1 refers to.
Solve 2 more questions and get performance evaluation
Push your limits with challenges.
Question 1
Given the list mixed = [5, 'cat', 'dog', 9.0, True], find the value at index 2 and at index -1.
💡 Hint: Use both positive and negative indices to retrieve the values.
Question 2
You have a list of names: names = ['Alice', 'Bob', 'Charlie', 'David']. Write an expression to print the second and third names using negative indexing.
💡 Hint: Think about how negative indexing works from the end.
Challenge and get performance evaluation