When you begin creating a Python script, it is considered a best practice to include documentation within the code that will help other developers understand what is happening within the code and the purpose-specific parts of the script. This can also prove helpful for yourself if you have to come back to a script that you wrote some time ago and need to make changes.
This in-code documentation is traditionally accomplished using commenting. Think of commenting code as a form of metadata stored within the code itself. It provides users and other programmers with the who, what, where, when, and why data. They may need this data to successfully use, integrate, or edit a script that you create. Different programming languages use different methods to comment code. Python uses the pound sign (#) to identify comment lines within its code, as illustrated in the following screenshot:
As you...