Exercise 1 of 16
Overview

Meet CodeMonkey’s Trivia Chatbot

Welcome to Trivia Chatbot! In this course you will learn how to create your own Trivia Chatbot. At the end of the course, you can share your chatbot and test how well your friends know trivia. The language you will be coding in is Python.

The screen displays instructions to the left, Python editor in the middle, and the chatbot to the right. Each task will pass successfully when you write the correct text/command in the editor and click on CHECK. The final task in each exercise will be to test your chatbot. Clicking on TEST runs the code in the editor and will trigger the chatbot to ask trivia and respond automatically. Clicking on CHAT lets you talk with the chatbot.

The send_message function sends the text the chatbot says. The text is shown in the chat. send_message gets a string, which is a sequence of characters inside quotes, to send.
Note: clicking on the strings (in the tasks), copies the text. Once copied, use Ctrl+v or command+v to paste it in the editor.

send_message("Hello friends!")
# Will send "Hello friends!"
Instructions
Replace the text in the function send_message to be "What's your favorite trivia topic?"
Hit TEST to test your Chatbot