QUESTION IMAGE
Question
multiple choice
a deque is a type of collection, but it is not automatically available when you open idle. what is missing that allows you to use the deque class?
from collections ____ deque
allow
insert
use
import
Brief Explanations
In Python, to use a class from a module (here deque from collections), the correct keyword is import. It allows accessing the functionality defined in the module.
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
D. import