Question 1
How can you access every second element in a python list using slicing?
Question 2
How can you access a range of elements from a python list using slicing?
Question 3
How do you access the first element of a python list?
Question 4
In python, lists are zero-indexed. What does this mean?
Question 5
How do you access the last element of a python list when its length is unknow?
Question 6
Which of the following statements correctly accesses the third element of a python list?
Question 7
What is the result of trying to access an index that is out of bounds in a python list?
Question 8
Which method should you use to check if an element exists in a python list before trying to access it?
Question 9
What is the result of using a negative index to access elements in a python list?
Question 10
What happens when you try to access an element using a non-integer index in a python list?