Froggy Jumps Python Lists QuizOnline version Test your knowledge on Python lists with this fun quiz! by Karen Tong 1 What method adds an item to the end of a Python list? a insert() b append() c extend() 2 How do you access the first element of a list named 'my_list'? a my_list[-1] b my_list[0] c my_list[1] 3 What will my_list[1:3] return? a Element at index 1 b All elements in my_list c Elements at index 1 and 2 4 How do you find the length of a list? a size(my_list) b len(my_list) c count(my_list) 5 What will my_list[-1] return? a First element of the list b Last element of the list c IndexError 6 How do you create an empty list? a my_list = [] b my_list = () c my_list = {} 7 What is the output of this code? a G b Error c I 8 What is the output of this code? a Error b [1, 2, 3, [2]] c [1, 2, 3, 2] 9 What is the output of this code? a Error b 6 c 3