PyroProgramming
Home
Docs
Tutorials
Sign Up
Login
Python Tutorial
Python Home
Python Intro
Python Get Started
Python Syntax
Python Comments
Python Variables
Python Data Types
Python Numbers
Python Casting
Python Strings
Python Booleans
Python Operators
Python Lists
Python Tuples
Python Sets
Python Dictionaries
Python If...Else
Python While Loops
Python For Loops
Python Functions
Python Comments
Types of Comments
Single-line comments using
#
.
Multi-line comments using triple quotes
'''...
or
"""...
.
Best Practices
Write comments to explain why code exists, not what it does.
Keep comments up-to-date with code changes.
Previous
Next