News
Commenting your code is good practice if you want to help other people understand what you’ve written. This makes it crucial to learn how to comment in Python if you work on a big team.
Hosted on MSN27d
Learn the Basics of Python in 1 Hour With These 13 Steps - MSNAnother use case for comments is when you don't want to execute a line, you can comment it out. To comment out a line in Python, we use the # symbol.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results