subject
Computers and Technology, 28.11.2020 01:40 talia43

Assignment 3: Chatbot A chatbot is a computer program designed to emulate human conversation. For this program, you will use if statements, user input, and random numbers to create a basic chatbot.

The Scenario
You have decided to start a website and are creating a chatbot prototype to show investors so you can raise money and launch your website.

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

at least 5 questions
at least 2 if-elif-else statements
the use of the random module and randomly generated numbers
Based on these 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.

Sample Run
Please note that due to the infinite possibility of questions that can be asked, your program will be different—this is only one example.

What is your first name?
Pascal
What is your last name?
Smith
Hi there, Pascal Smith, nice to meet you!

How old are you?
17
17 is a good age.
You are old enough to drive.

So, Pascal, how are you today?
Happy
You are happy.
That is good to hear.
Tell me more.

I am just happy.
That's good to hear.

Well, Pascal, it has been nice chatting with you.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
How do you make a lenny face? plz, brailiest to who can answer first.
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
You know the right answer?
Assignment 3: Chatbot A chatbot is a computer program designed to emulate human conversation. For t...
Questions
question
Mathematics, 18.05.2021 20:10
question
Mathematics, 18.05.2021 20:10
Questions on the website: 13722361