Hello World!

Step 2 – More printing

When your program ran it opened up a new window.

This is called the IDLE Shell. It's the place where your code runs and does whatever it's supposed to do.

Once you've finished running your program you can close the window that it's run in each time.

More printing

Let's add to the program.

Code helper image
  1. Underneath your code to display Hello World add:   print("How are you today?")
  2. Run your code (Run > Run Module)

Python will ask you to save your code each time you make a change and then run it. Just say OK each time.

This should look OK, but there's something simple we can add straight away.

Code helper image
  1. Change your code to create a blank line between the two lines (press Enter at the end of the first line)
  2. Type this code:   print()
  3. Run the code (they keyboard shortcut for running code is the F5 key at the top of the keyboard)

This simply leaves a blank line after the title. Which I think looks a lot nicer.