Contact: aviboots(AT)netvision.net.il
40,772 questions
53,159 answers
573 users
import collections q = collections.deque([1, 18, '27', 2, 'python', 18, 19, 18]) print(q) q.insert(2, 3) print(q) ''' run: deque([1, 18, '27', 2, 'python', 18, 19, 18]) deque([1, 18, 3, '27', 2, 'python', 18, 19, 18]) '''