Aug-29-2017, 09:15 PM
It's not necessary to put comments on every piece of code. In Python, you can put a multistring comment right under the function definition so you could use it lately to build a documentation.
def func():
"""This function doesn't do anything.
It's just an example"
pass
def func():
"""This function doesn't do anything.
It's just an example"
pass