Tutorial Python 4: Comments in Python - Printable Version +- Red Security (https://redsecurity.info/cc) +-- Forum: Programming (https://redsecurity.info/cc/forumdisplay.php?fid=5) +--- Forum: Python (https://redsecurity.info/cc/forumdisplay.php?fid=9) +--- Thread: Tutorial Python 4: Comments in Python (/showthread.php?tid=7883) |
Python 4: Comments in Python - Covid-19 - 04-17-2022 Comments: Comments are important in writing code. No matter how small or big your project is, comments should be added to your code so that your code will not be confusing and at debugging things will not be more complex. Comment in python starts with hash sign “#”. Comments are not run as Python code. So, they will not have any effect on the result. For example Code: print(7 + 10) It was a quick and important which I forgot to mention in early threads so enjoy your coding journey take care. Bye and Allah Hafiz... |