Files
  • main.py
main.py
1
2
3
4
5
6
from collections import deque

d = deque(maxlen=3)
d.append(1)
if d:
  print "HI"