New course! Every coder should learn Generative AI!
Try a free lesson+ 2
can docstrings be only used in functions...
learning comments...
6 Answers
+ 4
hi
+ 2
oh yeah....it seems to me...
+ 1
hello
+ 1
I think docstring can be used anywhere in code not only functions , this is my understanding. pls correct me if am wrong.
0
yes mukhtar u r right....even I experimented with it....👍👍👌👌