Which of these statements create my_obj
as an instance of MyClass
?
Right on! We create an instance of MyClass
by assigning the class with parentheses and, in this case, with attributes to my_object
.
Yikes! We create an instance of MyClass
by assigning the class with parentheses and, in this case, with attributes to my_object
.