class student:
    def __init__(self, total):
        self._total = total

    def average(self):
        return self._total / 5

    def totalgetter(self):
        return self._total

    def totalsetter(self, t):
        if t < 0 or t > 500:
            print("Enter correct total")
        else:
            self._total = t


    total = property(totalgetter, totalsetter)

o = student(450)
print(o.total)
print(o.average())

o.total = 350
print(o.total)
print(o.average())
9bf1b6c54da46b5c2bcb2addeee116ef21e71079
class student:

    def __init__(self, total):
        self._total = total
    <mask token>
    <mask token>
    <mask token>
    <mask token>


<mask token>

class student:

    def __init__(self, total):
        self._total = total

    def average(self):
        return self._total / 5

    def totalgetter(self):
        return self._total

    def totalsetter(self, t):
        if t < 0 or t > 500:
            print('Enter correct total')
        else:
            self._total = t
    <mask token>


<mask token>

class student:

    def __init__(self, total):
        self._total = total

    def average(self):
        return self._total / 5

    def totalgetter(self):
        return self._total

    def totalsetter(self, t):
        if t < 0 or t > 500:
            print('Enter correct total')
        else:
            self._total = t
    total = property(totalgetter, totalsetter)


<mask token>
print(o.total)
print(o.average())
<mask token>
print(o.total)
print(o.average())

class student:

    def __init__(self, total):
        self._total = total

    def average(self):
        return self._total / 5

    def totalgetter(self):
        return self._total

    def totalsetter(self, t):
        if t < 0 or t > 500:
            print('Enter correct total')
        else:
            self._total = t
    total = property(totalgetter, totalsetter)


o = student(450)
print(o.total)
print(o.average())
o.total = 350
print(o.total)
print(o.average())

class student:
    def __init__(self, total):
        self._total = total

    def average(self):
        return self._total / 5

    def totalgetter(self):
        return self._total

    def totalsetter(self, t):
        if t < 0 or t > 500:
            print("Enter correct total")
        else:
            self._total = t


    total = property(totalgetter, totalsetter)

o = student(450)
print(o.total)
print(o.average())

o.total = 350
print(o.total)
print(o.average())