Menu

[solved] – Question 99863

Your chatbot should ask the user the following (minimum requirements for the autograder) and then give answers depending on the answers the user inputs:

at least 5 questions, and
at least 2 if-elif-else statements.
Based on this criteria, some responses will be based on what the user types, and some will be based on random numbers.

For example, if the chatbot asks how the user is doing, your chatbot might respond I’m sorry to hear that. in response to a user input of sad, or That’s great! in response to a user input of happy.

Additionally, you could also have a random number generated between, say, 1 and 3 and have a corresponding response depending on the number to randomly answer with That is great to hear. or So interesting., and so on.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *