What is the usual job of __init__ in the Account class?
Cat is a defined class whose initializer needs no additional arguments. Which line creates an instance?
Two Cat instances each have an instance attribute name. Assigning pet_1.name = "Moss" must also change pet_2.name.
Circle one: True False
CoffeeOrder.loc is a class attribute. __init__ sets self.cup_size. No instance sets its own loc. Which statement fits this design?
Rectangle.area(self) returns self.length * self.width. room_1 has length 10 and width 15. What does room_1.area() return?
ProductionCar.update_max(self, speed) assigns self.max_mph = speed. Two separate cars start with max_mph = 0.0. car_1.update_max(250.0) runs. Which state follows?
Separate balance variables and deposit/withdraw functions are reorganised as Account objects. What does this change provide by itself?
CoffeeOrder.cls_id starts at 10. Each initializer adds 1, then copies the counter into self.order_id. Three orders are created. What is the third order's order_id?