Light introduction to Python

Input and Output:
Examples have prompts (>>>), which show where you type commands.
Lines without prompts show what the Python interpreter outputs.
A blank line ends a multi-line command.
Comments in Python:
Comments are notes you add to your code to explain things.
In Python, comments start with # and go until the end of the line.
They help others (and yourself) understand the code.
Comments can be at the start of a line or after some code.
Examples with Comments:
The manual uses comments to explain Python code.
Even when you type commands in the interactive prompt, comments help.
Comments start with # and don't affect how Python runs the code.
Example Comments:
```python # This is the first comment spam = 1 # This is the second comment # And now a third! text = "# This is not a comment because it's inside quotes."Here, we have a variable
spamand a variabletext.The lines starting with # are comments.
The last line shows that a # inside quotes is just a character, not a comment.
In essence, comments are like little notes in your Python code to explain what's happening. They're ignored by Python when running the code, but they're super helpful for you and others who read your code later.

