Skip to content
Snippets Groups Projects
Select Git revision
  • 550d435a2008fc0eef83cb0d30fdb53c32de264f
  • master default protected
2 results

listes-fusion.py

Blame
  • Forked from Vuillemot Romain / INF-TC1
    Source project has a limited visibility.
    test_lifoqueue.py 137 B
    import queue
    pile = queue.LifoQueue()
    
    for i in range(5): pile.put(i)
    
    while not pile.empty(): 
      print(pile.get(), end=" ")
    
    # 4 3 2 1 0