- Define a class that does nothing and name it
SomeClass - Create an instance of the class you defined and assign it to the variable
c - True or False? In case of
c.x = 1,xis a variable of value 1 - How to retrieve the value of
xattribute from the previous question?
class SomeClass:
passc = SomeClass()- False. in
c.x,xis an attribute of the instancecand not a variable c.x