Lesson goal: Displaying text on the screen

Home | Next: Speaking text

In this lesson, we'll cover how to display text on the screen. By text, we mean things like your name or any sort of message that you'd like someone to read. You can tell the computer to send text to the screen using the print statement. The print statement works like this:
print("your message here")
Move the mouse over a dotted box for more information.

Now you try. Use the print statement and have the computer display some messages. Be sure to put your message in double quotes.

Type your code here:

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code:

Does your code work? Want to run it on your iPhone?

Here's your code:

  1. Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.

  2. Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into this page

  3. Then click the "Use on iPhone" button that you'll see.