input: Write a python function to create a Dog object and verify its attributes using assert statements.
  assert create_dog("Fido", 2, 40).name == "Fido"
  assert create_dog("Fido", 2, 40).age == 2
  assert create_dog("Fido", 2, 40).weight == 40
output: def create_dog(name, age, weight):
      class Dog:
          def __init__(self, name, age, weight):
              self.name = name
              self.age = age
              self.weight = weight
  
      return Dog(name, age, weight)