#直接按业务需求写代码就行了就是要细心 #不小心被图片坑了,初始化用了10,5,2,1的顺序,搞反了 #(1 元张数 -2 元张数 -5 元张数 -10 元张数) import sys class Mac(): def __init__(self, nums, coinnums): self.goods = ["A1", "A2", "A3", "A4", "A5", "A6"] self.prices = [2, 3, 4, 5, 8...