Hello World

By law (okay, convention), the first thing you ever code should be a program that prints out the phrase Hello, World!. This used to be a fairly major project that would take hours:


>>> print 'Hello, World!'
Hello, World!


  • The quotation mark is next to the enter key
  • You have to be precise in how you type
  • Give it a try now
  • If you are using Python 3.x you need to type:
>>> print( 'Hello, World!' )
Hello, World!