What will be the output for the given python code?
import collections
dq = collections.deque([4, 5, 6])
dq.append(7)
dq.appendleft(11)
dq.extend([10])
print(list(dq))
1
[4, 5, 6, 7, 10, 11]
2
[10, 11, 4, 5, 6, 7]
3
[11, 4, 5, 6, 7, 10]
4
[4, 5, 6, 7, 11, 10]