nerdexam
Python_Institute

PCPP-32-101 · Question #65

PCPP-32-101 Question #65: Real Exam Question with Answer & Explanation

The correct answer is C. Apply PEP 257 for writing docstrings.. See the full explanation below for the reasoning.

Question

Your team is documenting an API using Python's built-in tools. Which standard should be followed for writing docstrings?

Options

  • AUse PEP 8 naming conventions.
  • BFollow PEP 20 for code clarity.
  • CApply PEP 257 for writing docstrings.
  • DUse PEP 484 for compatibility checks.

Community Discussion

No community discussion yet for this question.

Full PCPP-32-101 Practice