Question: Store the dictionary in a json file.

d = {"employees":[{"firstName": "John", "lastName": "Doe"},
                {"firstName": "Anna", "lastName": "Smith"},
                {"firstName": "Peter", "lastName": "Jones"}],
"owners":[{"firstName": "Jack", "lastName": "Petter"},
          {"firstName": "Jessy", "lastName": "Petter"}]}

Expected output:

Hint 1: This can be done through the json built-inmodule.

Hint 2: Use open to create afile named something like company1.json and use json.dump to write the dictionary to the file.