Froggy Jumps Python Data Structures QuizVersion en ligne Test your knowledge on Python tuples, sets, and dictionaries! par Karen Tong 1 What is a tuple in Python? a An immutable sequence of values. b A mutable sequence of values. c A type of dictionary. 2 Which method adds an element to a set? a add() b insert() c append() 3 What will happen if you try to add a duplicate to a set? a It will be ignored. b It will add it into the set normally. c It will raise an error. 4 What is the output of this code? a Error b 3 c 2 5 What is the output of this code? a (1, 2, 3) b Error c (1, 2, 3, 4) 6 What is the output of this code? a poodle b pitbull c Error 7 What is the output of this code? a 5 b Error c 2 8 What is the output of this code? a 5 b Error c "kiwi"