Hello World

As the old saying goes: β€œIf a program runs on your computer… but it doesn’t generate any output… did it really run?” πŸ€” Well, probably! But displaying output is still super important.

In this course, we will often want to see the results of our labor with messages and data printed to the console, or terminal.

To print in Emojicode, we use the πŸ˜€ ❗️ method. Let’s look at an example:

πŸ˜€ πŸ”€Hello, World!πŸ”€β—οΈ

The code above prints Hello, World! to the terminal.

  • πŸ”€Hello, World!πŸ”€ is a string (we’ll learn more about strings in the next exercise). It holds the message we want to print to the terminal.
  • We wrap the thing we want to print with a πŸ˜€ at the start and a ❗️ at the end.

Let’s practice some printing.



You’re going to be using a lot of Emojis in this course… You can quickly pull up the emoji keyboard by pressing:

  • Mac: control + command + space
  • Windows: ⊞ + .

Put those shortcuts to work!

Within the provided πŸ‡ πŸ‰ code block, print your name as a text string (wrap your name in πŸ”€β€™s).

Folder Icon

Take this course for free

Already have an account?