首页 > TAG信息列表 > hw06
2021 fall cs61a hw06
网址 https://inst.eecs.berkeley.edu/~cs61a/fa21/hw/hw06/ problem1: 没什么难度就是看清楚逻辑照着写就好了 class VendingMachine: """A vending machine that vends some product for some price. >>> v = VendingMachine('candy', 1Hw06 of CS61A of UCB
OOP Q1: Vending Machine In this question you'll create a vending machine that only outputs a single product and provides change when needed. Create a class called VendingMachine that represents a vending machine for some product. A VendingMachineob