QUESTION IMAGE
Question
choose the function described. the function deletes all items from a list. remove delete clear
Brief Explanations
In programming, the 'clear' function is commonly used to remove all elements from a list. The 'remove' function is used to remove a specific element, and 'delete' is more general - purpose for deleting objects or references but not specifically for emptying a list in the way 'clear' does.
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
clear