print text in python when run command line code example
Example 1: how to print to command line python
print ('Hello, world!')
Example 2: how to print to console python
print(value)
print("Hello, World!") # String
print(3) # Number
print(True) # Boolean
# Can also print a variable.