The print
function takes a single string and prints it to the console.
Strings in Python can be written using either single quotes ('
) or double
quotes ("
). Which to use is a matter of style, but consistency is important.
We will use single quotes in the SOFT courses.
Write a program to print the following text:
Hello, World!
Note that statements in Python do not normally end in semicolons.