input: Write a function to create a class in Python to store and process data in a Car object. The class should have attributes for make, model, color, and mileage, and methods for accelerating and decelerating.
  assert Car("Toyota", "Corolla", "Red", 50000).make == "Toyota"
  assert Car("Honda", "Civic", "Blue", 60000).model == "Civic"
  assert Car("Ford", "Mustang", "Black", 70000).color == "Black"
  assert Car("Chevrolet", "Camaro", "Yellow", 80000).mileage == 80000
output: class Car:
      def __init__(self, make, model, color, mileage):
          self.make = make
          self.model = model
          self.color = color
          self.mileage = mileage
          
      def accelerate(self):
          self.mileage += 10
          
      def decelerate(self):
          self.mileage -= 10