MikaGPT funktioniert nun

This commit is contained in:
2026-08-27 11:48:45 +02:00
parent b6728272e8
commit e9cab24046
+2 -6
View File
@@ -14,7 +14,7 @@ while True:
uinput = (input("Bitte Eingabe beginnen ").lower().split()) uinput = (input("Bitte Eingabe beginnen ").lower().split())
if "bye" in uinput: if "bye" in uinput:
print("MikaGPT wird nun beendet.") print("MikaGPT wird nun beendet.")
break continue
randoma = set(uinput).isdisjoint(set(woerter)) randoma = set(uinput).isdisjoint(set(woerter))
@@ -23,9 +23,5 @@ while True:
for antworten in uinput: for antworten in uinput:
if antworten in woerter: if antworten in woerter:
(woerter[antworten]) print(woerter[antworten])
# if uinput not in zwoerter:
# print (random.choice(woerter))