15
What is the output of the following code?
from collections import deque
d = deque([1, 2, 3])
d.appendleft(0)
d.pop()
print(list(d))Easy
What is the output of the following code?
from collections import deque
d = deque([1, 2, 3])
d.appendleft(0)
d.pop()
print(list(d))Log in to join the discussion.