From e9cab240460c9094257ef3f117f53a04990c04f6 Mon Sep 17 00:00:00 2001 From: msnau Date: Thu, 27 Aug 2026 11:48:45 +0200 Subject: [PATCH] MikaGPT funktioniert nun --- Chatbot | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Chatbot b/Chatbot index d8cf871..a14ef32 100644 --- a/Chatbot +++ b/Chatbot @@ -14,7 +14,7 @@ while True: uinput = (input("Bitte Eingabe beginnen ").lower().split()) if "bye" in uinput: print("MikaGPT wird nun beendet.") - break + continue randoma = set(uinput).isdisjoint(set(woerter)) @@ -23,9 +23,5 @@ while True: for antworten in uinput: if antworten in woerter: - (woerter[antworten]) + print(woerter[antworten]) - - - # if uinput not in zwoerter: - # print (random.choice(woerter))