Comments help you explain your code. Python ignores them when running.
Use
# for single-line comments:
# This is a comment
print("Hello!") # This prints a greeting
Use triple quotes for longer explanations:
"""
This is a multi-line comment.
It can span several lines.
Great for documentation!
"""
Pro Tip: Write comments to explain why you're doing something, not just what the code does.