Activity Card - Document Your Functions

Document Your Functions

Objective: Students will document their functions following best practices.

Instructions:

  1. Provide undocumented functions.
  2. Students write clear docstrings explaining the function's purpose, parameters, and return values.
  3. Peer review the documentation for clarity and completeness.

Materials:

Assessment: