Python Day Three : Focus & consistency

Day Three lesson : Comments in Python

Comments are notes written in code to explain what the code does. Python ignores comments when running the program.
Example:

#This is a comment
print("Hello, Pure Pearl Foundation") 
print("Hello, Pure Pearl Foundation") #This is also a comment

Comments help make code easier to understand, explain code to others, and can be used to temporarily disable code during testing.

Good programmers don’t just write code they write clear code. Using comments helps you stay organized and makes your programs easier to understand in the future. Keep practicing! 💻🐍

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

The AI Pilot to Production Gap: A Field Guide for Fortune 100 CIOs

Next Post

Supercharging Digital Gauging at Bobcat North America

Related Posts