-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Bug Report for https://neetcode.io/problems/python-docstrings
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
While submitting a solution in case of doc-strings - String needs to start on the same line as triple quotes. When starting on new line (which looks more elegant) - comparison mismatches.
Acceptable Solution is following
"""A class to represent a pet.
Attributes:
name (str): The pet's name
animal_type (str): The pet's type
"""Compared to (much elegnant)
"""
A class to represent a pet.
Attributes:
name (str): The pet's name
animal_type (str): The pet's type
"""seems more of newline comparison issue.
Metadata
Metadata
Assignees
Labels
No labels