altGoal.py aktualisiert
This commit is contained in:
+1
-2
@@ -14,10 +14,9 @@ while True:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
print(promptsAndAnswers[text])
|
print(promptsAndAnswers[text])
|
||||||
except somethingElse:
|
except Exception as somethingElse:
|
||||||
print("Das verstehe ich nicht.")
|
print("Das verstehe ich nicht.")
|
||||||
|
|
||||||
if text == "bye":
|
if text == "bye":
|
||||||
print("Tschüss!")
|
print("Tschüss!")
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user