Comments
- Comments are mostly used for documentation purpose.
- Comment lines are not executed by the python interpreter.
- Comments come in handy when multiple people work on the same template.
- You can also use comment syntax to disable parts of the template during debugging.
- Comments are added using hash tag # ... #.
- That is anything typed after # is treated as a comment line and it will be ignored by the engine.
- An example with comment lines are shown below
python code with comments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
Output
- IITM University
- course name MAD 1
- course name MAD 2
Reference
Authors(Git):Devi(97.78%), Thejesh GN(2.22%)