#!/usr/bin/python
#-*-coding:utf8-*-
class buy:
    goods=[
        {'电脑',1999},
        {'鼠标',10},
        {'游艇',20},
        {'美女',998}
    ]
    # def __init__(self,money,buy,shopping,):
    #     self.money=money
    #     self.buy=buy
    #     self.shopping=shopping
    # def gouwu(self):
    #     print('您当前余额为：%d' %self.money)
    #     num=int(input('请输入购买的商品号'))
    #     if buy < len(goods) and buy >= 0:

