class Rectangle():
    height = 5.00
    width = 4.00
    def setRect(self):
        print('请输入长和宽')
        a = int(input('长：'))
        b = int(input('宽：'))
        self.height = a
        self.width = b
    def getRect(self):
        print('这个矩形的长是：%d,宽是%d' % (self.height,self.width))
    def getArea(self):
        c = self.height * self.width
        print(c)

0b786135a2cdf77d7ed1fb63aa3944033a29f594
class Rectangle:
    <mask token>
    <mask token>

    def setRect(self):
        print('请输入长和宽')
        a = int(input('长：'))
        b = int(input('宽：'))
        self.height = a
        self.width = b
    <mask token>
    <mask token>

class Rectangle:
    <mask token>
    <mask token>

    def setRect(self):
        print('请输入长和宽')
        a = int(input('长：'))
        b = int(input('宽：'))
        self.height = a
        self.width = b
    <mask token>

    def getArea(self):
        c = self.height * self.width
        print(c)

class Rectangle:
    <mask token>
    <mask token>

    def setRect(self):
        print('请输入长和宽')
        a = int(input('长：'))
        b = int(input('宽：'))
        self.height = a
        self.width = b

    def getRect(self):
        print('这个矩形的长是：%d,宽是%d' % (self.height, self.width))

    def getArea(self):
        c = self.height * self.width
        print(c)

class Rectangle:
    height = 5.0
    width = 4.0

    def setRect(self):
        print('请输入长和宽')
        a = int(input('长：'))
        b = int(input('宽：'))
        self.height = a
        self.width = b

    def getRect(self):
        print('这个矩形的长是：%d,宽是%d' % (self.height, self.width))

    def getArea(self):
        c = self.height * self.width
        print(c)

class Rectangle():
    height = 5.00
    width = 4.00
    def setRect(self):
        print('请输入长和宽')
        a = int(input('长：'))
        b = int(input('宽：'))
        self.height = a
        self.width = b
    def getRect(self):
        print('这个矩形的长是：%d,宽是%d' % (self.height,self.width))
    def getArea(self):
        c = self.height * self.width
        print(c)
