how to not get object ID when calling a function that was defined inside a class

后端 未结 0 1070
刺人心
刺人心 2020-12-03 06:48

Here is my code

#define class \'robot\'
class Robot:
    def __init__(self, name, color, weight):
        self.name = name
        self.color = color
                 


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