input: Write a function to create a dictionary in Python with the provided key-value pairs. If no key-value pairs are provided, the function should return an empty dictionary.
  
  assert create_dict(["FirstName", "John"])=={"FirstName": "John"}
  assert create_dict(["City", "New York"])=={"City": "New York"}
  assert create_dict([])=={}
  assert create_dict(["Color", "Blue"])=={"Color": "Blue"}
  assert create_dict(["LastName", "Doe"])=={"LastName": "Doe"}
output: def create_dict(pairs):
      if not pairs:
          return {}
      return {pairs[0]: pairs[1]}