in Python, how i can check the battery size and set the capacity to 100 if it isn't already?

前端 未结 0 1940
旧巷少年郎
旧巷少年郎 2021-01-03 17:43

Add a method to the battery class called upgrade_battery(). This method should check the battery size and set the capacity to 100 if it isn\'t already. make an electric car

相关标签:
回答
  • 消灭零回复
提交回复
热议问题