Lesson goal: Make the computer speak
Previous: Zoom in or out
| Next: Speaking text with different voices
In a previous lesson
,you learned how to display text on the screen.
Using the same idea, let's have the computer speak
We have a function called
that works like this:
say("your message here")
Move the mouse over a dotted box for more information.
Now you try. Use the
say statement and have the computer speak some messages. Be sure to put your message in double quotes.
Type your code here: