Discuss / Python / 交作业

交作业

Topic source

class Screen(object):

    @property

    def width(self):pass

    @width.setter

    def width(self, value):

        self._width = value

    @property

    def height(self):pass

    @height.setter

    def height(self, value):

        self._height = value

    @property

    def resolution(self):

        return 786432


  • 1

Reply