From 203474fc671b7d2d4e99f11263fa9f1173ad0dd5 Mon Sep 17 00:00:00 2001 From: mantaru Date: Mon, 13 Jan 2025 21:14:22 +0100 Subject: [PATCH] add code --- queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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