This commit is contained in:
mantaru 2025-01-13 21:14:22 +01:00
parent aba56a0521
commit 203474fc67

View File

@ -37,7 +37,7 @@ class Queue2:
def dequeue(self): def dequeue(self):
if self.head is not None: if self.head is not None:
ausgabe = self.head.data ausgabe = self.head
self.head = self.head.next self.head = self.head.next
if self.head is None: if self.head is None:
self.butt = None self.butt = None