Print to console

Alongside is our IDE, with an example of a print statement. Click RUN to see what happens.

You just printed your first word. Follow the steps below to write a new statement:

  1. Add a new print (” “) on the next line and put your name between the quotes.
  2. Click the RUN to see your results.  

Commenting is a way of adding notes to code so others can understand what the code is about. To write a comment put a ‘#’ sign before your line. Follow the steps below to try it out:

  1. On line 2, remove the ‘#’ sign.
  2. Click the RUN
  3. You got an error right? Now put the “#” sign back where you say it. Then click RUN
  4. It should be working again.