how to print a line in python cmd code example Example: how to print to command line python print ('Hello, world!')