class TipJar(object):
    def __init__(self):
        self._amount = 0

    def tip(self, amount):
        self._amount = self._amount + amount

    def get_amount(self):
        return self._amount

if __name__ == "__main__":
    jar = TipJar()
    print(jar.get_amount())
    jar.tip(1.25)
    jar.tip(2)
    print(jar.get_amount())

159433722f969f5648fec5da8f3d8d43873bed08
class TipJar(object):
    <mask token>

    def tip(self, amount):
        self._amount = self._amount + amount
    <mask token>


<mask token>

class TipJar(object):
    <mask token>

    def tip(self, amount):
        self._amount = self._amount + amount

    def get_amount(self):
        return self._amount


<mask token>

class TipJar(object):

    def __init__(self):
        self._amount = 0

    def tip(self, amount):
        self._amount = self._amount + amount

    def get_amount(self):
        return self._amount


<mask token>

class TipJar(object):

    def __init__(self):
        self._amount = 0

    def tip(self, amount):
        self._amount = self._amount + amount

    def get_amount(self):
        return self._amount


if __name__ == '__main__':
    jar = TipJar()
    print(jar.get_amount())
    jar.tip(1.25)
    jar.tip(2)
    print(jar.get_amount())

class TipJar(object):
    def __init__(self):
        self._amount = 0

    def tip(self, amount):
        self._amount = self._amount + amount

    def get_amount(self):
        return self._amount

if __name__ == "__main__":
    jar = TipJar()
    print(jar.get_amount())
    jar.tip(1.25)
    jar.tip(2)
    print(jar.get_amount())
