python print to command line code example
Example 1: how to print to command line python
print ('Hello, world!')
Example 2: python text ouput to console
#in python 2.7
print "Hello world"
#in python 3.7
print("Hello again world")
#Neither of these require any imports.