Comments

A comment is a note for people who read your code. Python ignores everything from the # sign to the end of that line.

# Explain why this value is fixed.
tax_rate = 0.18
print(tax_rate)  # Show the current rate.

Output:

0.18

Good comments explain things the code cannot say by itself, such as why you chose a value or what to be careful about. Do not write a comment that only repeats what a line does. A clear name for the variable is better.

Python has no special way to write one comment over many lines. Put # at the start of each comment line. Strings inside triple quotes are not comments. They have other jobs, such as describing what a function does.

In the exercise, comment out the leftover debug line (turn it into a comment), but do not delete it.