How to transfer an object of a class into another class in Python?

后端 未结 0 824
夕颜
夕颜 2021-01-04 09:19

I actually have 2 questions. I\'ll start by showing the code.

class Object():

    def __init__(self, x, y):
        super().__init__()

        self.x = x
           


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