Lesson goal: Make the computer speak
Previous:
Zoom in or out |
Home | Next:
Speaking text with different voicesIn a
previous lesson,you learned how to display text on the screen.
Using the same idea, let's have the computer
speak our text!
We have a function called
say
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: