Menu
×
×
Correct!
Exercise:Use the p1 object to print the value of x:
class MyClass:
x = 5
p1 = MyClass()
print(@(4))
class MyClass:
x = 5
p1 = MyClass()
print(p1.x)
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 95 exercises.
Are you sure you want to continue?