Lesson goal: Make the computer speak with different speeds
Previous: Displaying text
| Next: Displaying nice looking math
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: