You have to use print(). If you want to print hello world, you need this:
print("Hello, world!")
This prints in the console text you want. To print variable values, you need to enter the variable name, but without quotation marks:
variable = "Hello, world!"
print(variable)