# Print
In Python, the print()
function is used to tell a computer to talk. This is something we are going to use a lot.
The message we want to be display should be inside the parenthesis and surrounded by quotes. The quotes can be double quotes or single quotes, but they have to be the same quotes.
This is an example of a print()
function:
print("👋 Howdy")
In the above example, we instructed our program to print a text message. The printed words that appear as a result of the print()
function are referred to as output.
The output of this example program would be:
👋 Howdy
# Instructions
Create a new file called hello_world.py file using your VS Code.
On line 1, use print()
to output the message "Hello world!"
Save the file and then run it.
Were you able to print "Hello world!" in the terminal?
Hint
Take a look at this video if you are stuck.
Back