Keep getting this error: AttributeError: 'Battery' object has no attribute 'battery_size'

前端 未结 0 534
谎友^
谎友^ 2021-02-07 09:55

This is my code:

class Car():
    """A simple attempt to represent a car"""
    def __init__(self, make, model, year):
        self.         


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