class GoodSystem(): # 商品名称 goods_names = ['A1', 'A2', 'A3', 'A4', 'A5', 'A6'] # 商品价格 goods_price = [2, 3, 4, 5, 8, 6] # 每种商品的数量 goods_nums = [] # 币额 money_flag = [1, 2, 5, 10] # 每种币值的张数 money_nums = [] # 投币余额 balance = 0 def __init__(self, pa...