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)"""models aspects of carspecific to electric vehicles ""def __init__(selfmakemodelyear)""initialize attributes of the parent class then initialize attributes specific to an electric car ""super(__init__(makemodelyearself battery battery(now we can make new file called my_electric_car pyimport the electriccar classand make an electric carmy_electric_ car py from car import electriccar my_tesla electriccar('tesla''model ' print(my_tesla get_descriptive_name()my_tesla battery describe_battery(my_tesla battery get_range(this has the same output we saw earliereven though most of the logic is hidden away in module tesla model this car has -kwh battery this car can go approximately miles on full charge importing multiple classes from module you can import as many classes as you need into program file if we want to make regular car and an electric car in the same filewe need to import both classescar and electriccarmy_cars py from car import carelectriccar my_beetle car('volkswagen''beetle' print(my_beetle get_descriptive_name() my_tesla electriccar('tesla''roadster' print(my_tesla get_descriptive_name()classes