diff --git a/queue.py b/queue.py index 2e53791..7e4108c 100644 --- a/queue.py +++ b/queue.py @@ -37,7 +37,7 @@ class Queue2: def dequeue(self): if self.head is not None: - ausgabe = self.head.data + ausgabe = self.head self.head = self.head.next if self.head is None: self.butt = None