Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Python 3: Queue
#python 3.5.2 def createEmptyQ(): return [] def insertQ(item,q): q.append(item) def popQ(q): q.pop(0) def lenQ(q): return len(q) def isEmptyQ(q): return len(q)==0 aq=createEmptyQ() insertQ(12,aq) insertQ(234,aq) print(aq) print(lenQ(aq)) popQ(aq) print(aq) print(lenQ(aq)) popQ(aq) print(aq) print(lenQ(aq))
run
|
edit
|
history
|
help
0
https://rextester.com/REAL13110
Email_Python
Урок 4 задача 4: решить в целых числах уравнение ax=b (python)
Minimum Positive Integer
Lakshya chouhan
gfg pattern
Python: Stack Simple I
test
prime number
miyabhai