Complete the function
# the constructor of a class
class Point:
def ____(self, x):
self.x = x
Answer: __init__
__init__ runs when the instance is created.
Play Problem Solving ▸
# the constructor of a class
class Point:
def ____(self, x):
self.x = x
Answer: __init__