input: Write a function to create a dictionary in Python with given key-value pairs. The function should take a list of tuples, where each tuple contains a key and a value, and return a dictionary with these key-value pairs. If the list is empty, return an empty dictionary.
  def create_dict(key_value_pairs):
      my_dict = {}
      for pair in key_value_pairs:
          my_dict[pair[0]] = pair[1]
      return my_dict
  
  assert create_dict([("FirstName", "John")]) == {"FirstName": "John"}
  assert create_dict([("Age", 30), ("Occupation", "Engineer")]) == {"Age": 30, "Occupation": "Engineer"}
  assert create_dict([]) == {}
output: def create_dict(key_value_pairs):
      my_dict = {}
      for pair in key_value_pairs:
          my_dict[pair[0]] = pair[1]
      return my_dict