Fill in the blanks:
In Python, you can create a data class by using the @dataclass@dataclasses@namedtuple decorator from the built-in dataclassstructdataclassescollections module, and then specify the fields that you want in your data class.
@dataclass@dataclasses@namedtuple
dataclassstructdataclassescollections
Sorry! There has been an error processing your answer. Please try again.
Got feedback on this question?