QUESTION IMAGE
Question
choose the type of collection described. a uses square brackets. you use append to add to the collection. a uses curly brackets. you use update to add to the collection. a uses parentheses. you cannot change it once you create it.
Brief Explanations
In Python, lists use square - brackets and the append method to add elements. Sets use curly - brackets and the update method to add elements. Tuples use parentheses and are immutable (cannot be changed once created).
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- List
- Set
- Tuple