Пример #1
0
def add_cost():
    item = input('''
===>What item would you like to add?
    ''')
    cost = input('''
=======>How much you dropping?
        ''')
    freq = input('''
===========>How often are you dropping this?
            (daily, weekly, monthly, once)
            ''')
    r = Receipt()
    r.set_item(item)
    r.set_cost(cost)
    r.set_frequency(freq)
    return r