Question: Parameters to a function are used to: introduce the calling function to the current function tie the function to a global variable create new global
Parameters to a function are used to:
introduce the calling function to the current function
tie the function to a global variable
create new global variables
pass informationdata to the called function
Question
Why should you use a docstring to document a function?
comments do not work in functions
a docstring gets special treatment by python and some programming tools
it is the cool way to comment code
you shouldn't. Docstrings are no longer useful
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
