Python Printing

From OpenCircuits
Jump to navigation Jump to search


Printing generally means putting words and numbers on the computers screen. Your first program should have been "Hello World" or something similar. One version is:

print "Hello World"

The process can get a bit more complicated when you want to format the output in some special way ( think about the different ways that dates can be printed ) or when you want the output to go to some place other than the Python console. Often you want to print a string, and manipulating the string is closely related to the process of printing.