Question from the Python test

What is the output of the following Python code?

Waiting for validation

What result would I get when executing the following code?

import dataclasses


@dataclasses.dataclass
class Person:
    name: str


person = Person('Brigitte')
person['name']
Author: John PendenqueStatus: Waiting for validationQuestion not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!