Cant set two property method in a single Class in Python

后端 未结 0 2010
天命终不由人
天命终不由人 2020-12-30 06:21

So, I want to define class and set property to avoid inproper input. Code is as following:

class Coordinate(): def init(self, x, y): self.x =

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