Intermediate Code Comments #python #docstrings

Python Docstrings

6 exercises — identify and write Google-style, NumPy-style, and Sphinx-style Python docstrings in real engineering contexts.

0 / 6 completed
1 / 6
What style is this Python docstring? ```python def parse_date(date_str): """Parse a date string into a datetime object. Args: date_str (str): Date string in ISO 8601 format (YYYY-MM-DD). Returns: datetime: Parsed datetime object. Raises: ValueError: If the string does not match ISO 8601 format. """ ```