Dont Do Drugs
william lebrato
 
 
No information given.
Currently Offline
Comments
Saphy Oct 22, 2023 @ 1:36pm 
-rep
class Queue:
def __init__(self):
self.list = []

def enqueue(self,event):
self.list.append(event)

def dequeue(self):
if not self.list:
raise ValueError("Empty")
return self.list.pop(0)

def front(self):
if self.list:
return self.list[0]

def is_empty(self):
if not self.list:
return True

return False
Saphy Oct 22, 2023 @ 1:35pm 
-rep
def __init__(self):
self._events = Queue()

def recieve(self,event):
self._events.enqueue(event)

def is_idle(self):
return self._events.is_empty()

def handleEvent(self):
self._events.dequeue()
Saphy Aug 28, 2023 @ 2:17pm 
-rep bought account and cheating
Mweoil May 7, 2023 @ 1:18pm 
-rep bought account and cheating
artjoper May 7, 2023 @ 1:07pm 
-rep bought account and cheating
BOT klau Apr 9, 2023 @ 11:41am 
-rep bought account and cheating