Back to Browse

Python - Function Documentation using docstring and help() - Code Example - Learn Python Coding

4.5K views
Oct 1, 2021
3:13

Comments help to guide the reader to better understand your code and its purpose and design. Documentation helps to define and describe what your functions do. A docstring, which is a string literal, surrounded by three quotations marks, and placed in the begging of a function’s body. The help() function provides programmers with the documentation associated with an object. Subscribe to Appficial for more programming videos coming soon. Also, don't forget to click LIKE and comment on the video if it helped you out!

Download

1 formats

Video Formats

360pmp44.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Python - Function Documentation using docstring and help() - Code Example - Learn Python Coding | NatokHD