grobes Konzept...

This commit is contained in:
2026-05-29 16:49:30 +02:00
parent c3ef508e23
commit cd282fea01
2 changed files with 71 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
print("Hallo! Ich bin ein Chatbot.")
name = input("Wie heißt du?: ")
print("Hallo", name)
while True:
text = input("> ")
if text == "hallo":
print("Hallo!")
elif text == "wie gehts":
print("Gut :)")
elif text == "bye":
print("Tschüss!")
break
else:
print("Das verstehe ich nicht.")