helloworld.py


Below is the syntax highlighted version of helloworld.py from §1.1 Hello World.


#-----------------------------------------------------------------------
# helloworld.py
#-----------------------------------------------------------------------

import stdio

# Write 'Hello, World' to standard output.
stdio.writeln('Hello, World')

#-----------------------------------------------------------------------

# python helloworld.py
# Hello, World


Copyright © 2000–2015, Robert Sedgewick, Kevin Wayne, and Robert Dondero.
Last updated: Fri Oct 20 20:45:16 EDT 2017.