$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #198

Complete the function

# the constructor of a class
class Point:
    def ____(self, x):
        self.x = x

Answer: __init__ (also accepted: __init__, __init__())

__init__ runs when the instance is created.
Play Problem Solving ▸