mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-24 09:21:24 -04:00
organizing 2014 interview problems
This commit is contained in:
parent
4b1fe33f96
commit
d29e0d82ad
87 changed files with 618 additions and 496 deletions
13
src/basic_examples/example_queue.py
Executable file
13
src/basic_examples/example_queue.py
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
__author__ = "bt3"
|
||||
|
||||
import Queue
|
||||
|
||||
q = Queue.Queue()
|
||||
|
||||
for i in range(10):
|
||||
q.put(i)
|
||||
|
||||
for i in range(10):
|
||||
print q.get(i)
|
Loading…
Add table
Add a link
Reference in a new issue