Restructured the entire folder and added this lesson's examples

This commit is contained in:
Manolo Hernandez Lütten
2026-06-05 14:44:13 +02:00
parent 07ca5d6258
commit d4851a961a
7 changed files with 65 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.")