From 875fecb97d187ad93e0d24fbaa358bdcc79070e9 Mon Sep 17 00:00:00 2001 From: "ben.sommerfeld" <44+ben.sommerfeld@noreply.localhost> Date: Mon, 28 Sep 2026 13:47:21 +0000 Subject: [PATCH] schatzsuche/liste.py aktualisiert --- schatzsuche/liste.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/schatzsuche/liste.py b/schatzsuche/liste.py index d5d7909..2323ca7 100644 --- a/schatzsuche/liste.py +++ b/schatzsuche/liste.py @@ -24,4 +24,10 @@ class Liste: if knoten.next is None: knoten.next = neu return - knoten = knoten.next \ No newline at end of file + knoten = knoten.next + + def insert(self,data,stelle): + neu = Node(data) + + for i in range (stelle-1): + \ No newline at end of file