When you place a # at the beginning of a line, the line will be ignored by Python.

If you are using VS Code to write your Python code, there is a special type of comment you can use: putting #%% at the beginning of a line will create separate cells that can run as a chunk interactively.

# for example, this is a comment that will be ignored

#%% and this special comment delineates a "cell"