def generate_car_price(location, days, age, car_type):
car_types = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>base_location_cost = <NUM_LIT:0><EOL>for i in range(len(location)):<EOL><INDENT>base_location_cost += ord(location.lower()[i]) - <NUM_LIT><EOL><DEDENT>age_multiplier = <NUM_LIT> if age < <NUM_LIT> else <NUM_LIT:1><EOL>if car_type not in car_types:<EOL><INDENT>car_type = car_types[<NUM_LIT:0>]<EOL><DEDENT>return days * ((<NUM_LIT:100> + base_location_cost) + ((car_types.index(car_type) * <NUM_LIT:50>) * age_multiplier))<EOL>
Generates a number within a reasonable range that might be expected for a flight.
The price is fixed for a given pair of locations.