# -*- coding: utf-8 -*-

#    File Name：       yake
#    Description :
#    Author :          LvYang
#    date：            2019/4/12
#    Change Activity:  2019/4/12:

class Yake(object):

    def __init__(self):
        self.money = 1000

    def buy(self, price):
        if self.money>price:
            return "success"
        else:
            return "No money"
2f66420661829aac5e4b43f7e82e8706787600f6
<mask token>

class Yake(object):
    <mask token>
    <mask token>

class Yake(object):

    def __init__(self):
        self.money = 1000
    <mask token>

class Yake(object):

    def __init__(self):
        self.money = 1000

    def buy(self, price):
        if self.money > price:
            return 'success'
        else:
            return 'No money'

# -*- coding: utf-8 -*-

#    File Name：       yake
#    Description :
#    Author :          LvYang
#    date：            2019/4/12
#    Change Activity:  2019/4/12:

class Yake(object):

    def __init__(self):
        self.money = 1000

    def buy(self, price):
        if self.money>price:
            return "success"
        else:
            return "No money"