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