Introduction to python

The print function writes a message out to the terminal, put whatever you would like to write inside double quotes, surrounded by parentheses.

print("My name is ...")

You can also print multiple messages by separating them with commas.

print("My","name","is","Alice","and","I","live","in","a","wonderland")

Comments

It is sometimes useful to leave comments in code, which are not processed by anything. In python any line that starts with # is a comment and will not affect anything.

# This is a comment
# This is also a comment