while True: userInput = input("Nachricht: ") if userInput == "Hallo" or userInput == "Hi" or userInput == "Moin": print("Antwort: Hallo") elif userInput == "Wie geht's" or userInput == "Wie gehts": print("Antwort: Gut") elif userInput == "Wer bist du": print("Antwort: Ein Chatbot") elif userInput == "Bye" or userInput == "Ciao" or userInput == "Tschüss": print("Antwort: Bye") break else: print("Antwort: Das habe ich leider nicht verstanden")