+ 5
Would someone mind explaining this better to me?
Unlike conventional comments, docstrings are retained throughout the runtime of the program
3 RĂ©ponses
+ 2
You cannot get docstring comment in a file without launching code, that's how i understand it
0
Comments in a code is used to explain what your code will do. Like in the example comment say print âhello worldâ which means the code in next line gonna v written would print âhello worldâ
0
from what I understood, comments don't show when the program is running, as for docstrings will appear and they also can have multiple lines. I'll try it later ;)