input: Write a function to create a dictionary in Python with given key-value pairs. The function should take two parameters, the key and the value, and return the dictionary. If no input is provided, the function should return an empty dictionary.
  
  assert create_dict("FirstName", "John") == {"FirstName": "John"}
  assert create_dict("LastName", "Doe") == {"LastName": "Doe"}
  assert create_dict(None, None) == {}
  assert create_dict("Age", 30) == {"Age": 30}
  assert create_dict() == {}
output: def create_dict(key=None, value=None):
      if key is None and value is None:
          return {}
      return {key: value}