Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Comments

# marks single line comments.

There are no real multi-line comments in Python, but we will see a way to have them anyway.

print("hello")

# Comments for other developers

print("world") # more comments

# print("This is not printed")