input: Write a python function to create a car with a given type, model, and number of seats, and calculate its maximum speed and average fuel consumption.
  assert my_car.type == 'sedan'
  assert my_car.model == 'Tesla Model 3'
  assert my_car.seats == 5
output: class Car:
      def __init__(self, car_type, model, seats):
          self.type = car_type
          self.model = model
          self.seats = seats
  
      def max_speed(self):
          # This is a placeholder. You can customize the logic to calculate max speed based on car type/model
          return 200
  
      def average_fuel_consumption(self):
          # This is a placeholder. You can customize the logic to calculate fuel consumption based on car type/model
          return 15
  
  def create_car(car_type, model, seats):
      return Car(car_type, model, seats)
  
  # Example usage:
  my_car = create_car('sedan', 'Tesla Model 3', 5)