What are the 3 arguments that were given to this object?

前端 未结 0 683
被撕碎了的回忆
被撕碎了的回忆 2021-02-19 03:07
class Point:
    def __init__(x, y):
        self.x = x
        self.y = y


Point(1, 2)

Running this code displays "TypeError: init

相关标签:
回答
  • 消灭零回复
提交回复
热议问题