Skip to main content

Chapter 19: Lists, Tuples, and Dictionary Quiz

Test your understanding of Python's three fundamental collection types: lists (mutable sequences), tuples (immutable sequences), and dictionaries (key-value mappings).

Chapter 19: Lists, Tuples, and Dictionary Assessment

Question 1 of 15

When iterating through a dictionary with `for key in user_dict:`, what does the loop variable contain?