Instance Dict Contents
class Point:
dimension = 2
def __init__(self, x, y):
self.x = x
self.y = y
p = Point(3, 4)
print(sorted(p.__dict__.keys()))
What is printed? Write the exact output.
Sign in to answer questions and track your progress
Sign In