Comment It Out
Python
10 pts
Comment It Out
This program prints three lines. Use a comment so that only Line 1 and Line 3 are printed:
Line 1 Line 3
Do not delete any line — comment it out instead. Then add your own comment at the top explaining what the program does.
Checklist
- Add a comment at the top, and comment out (do not delete) the line that prints Line 2, so that only
Line 1andLine 3appear.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
