in as much detail as we want without cluttering the electriccar class let' add another method to battery that reports the range of the car based on the battery sizeclass car()--snip-class battery()--snip- def get_range(self)"""print statement about the range this battery provides ""if self battery_size = range elif self battery_size = range message "this car can go approximately str(rangemessage +miles on full charge print(messageclass electriccar(car)--snip-my_tesla electriccar('tesla''model ' print(my_tesla get_descriptive_name()my_tesla battery describe_battery( my_tesla battery get_range(the new method get_range(at performs some simple analysis if the battery' capacity is kwhget_range(sets the range to milesand if the capacity is kwhit sets the range to miles it then reports this value when we want to use this methodwe again have to call it through the car' battery attribute at the output tells us the range of the car based on its battery size tesla model this car has -kwh battery this car can go approximately miles on full charge modeling real-world objects as you begin to model more complicated items like electric carsyou'll wrestle with interesting questions is the range of an electric car property of the battery or of the carif we're only describing one carit' probably fine to maintain the association of the method get_range(with the battery class but if we're describing manufacturer' entire line of carswe probably want to move get_range(to the electriccar class the get_range(method classes