mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-06-06 06:08:49 -04:00
Change the dir structure slightly
This commit is contained in:
parent
6b6fe21db3
commit
2f4a9638c0
184 changed files with 0 additions and 21 deletions
source_code/USEFUL/basic_examples
13
source_code/USEFUL/basic_examples/example_queue.py
Executable file
13
source_code/USEFUL/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