input: Write a function to create a dictionary in Python with specified key-value pairs. The function should take a list of keys and a list of corresponding values as inputs and return a dictionary. If the lengths of the key list and value list do not match, the function should return an empty dictionary.
  
  
  def create_dictionary(keys, values):
      if len(keys) != len(values):
          return {}
      return {keys[i]: values[i] for i in range(len(keys))}
  
  assert create_dictionary(["FirstName"], ["John"]) == {"FirstName": "John"}
  assert create_dictionary(["FirstName", "LastName"], ["John", "Doe"]) == {"FirstName": "John", "LastName": "Doe"}
  assert create_dictionary([], []) == {}
  assert create_dictionary(["FirstName", "LastName"], ["John"]) == {}
  assert create_dictionary(["FirstName"], ["John", "Doe"]) == {}
  
output: def create_dictionary(keys, values):
      if len(keys) != len(values):
          return {}
      return {keys[i]: values[i] for i in range(len(keys))}