Artificial Intelligence lab
WELCOME TO EXAMHELPER20 CREATED BY "NIKHIL DOPPANI" DO FOLLOW examhelper20 CHATBOT: print("Simple Question and Answering Program") print("=====================================") print(" You may ask any one of these questions") print("Hi") print("How are you?") print("Are you working?") print("What is your name?") print("what did you do yesterday?") print("Quit") while True: question = input("Enter one question from above list:") if question in ['hi']: print("Hello") elif question in ['how are you?','how do you do?']: print("I am fine") elif question in ['are you working?','are you doing any job?']: print("yes. I'am working in AITS-R") elif question in ['what is your name?']: print("My name is Emilia") name=input(...
Comments
Post a Comment