MoneyBank:用于超市软件的CashMachine:money_bag: 源码
货币银行 适用于超市软件的CashMachine :money_bag: 如何测试 克隆存储库 运行tests.py 如何使用它 import src . main as bank machine = bank . MoneyBank ([ 1 , 1 , 0.5 , 0.5 , 0.2 ]) # Pieces available in your cash machine # Make a payment machine . pay ([ 2 , 1 ], 2.5 ) # Pieces the customer gave, price of the product """ Will ret
用户评论