Question from the Python test

What is the output of the following Python code?

Medium

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: PublishedQuestion passed 2 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!