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))