use .write ro print to consolse python code example
Example 1: how to print to command line python
print ('Hello, world!')
Example 2: how to write something in the pyton console
#to write something in the console just type print()
#like this:
print("Hello World!")