using pymongo Develop a function to make a document in the MongoDB database “city” in the collection “inspections.”Be sure it can handle error… using pymongoDevelop a function to make a document in the MongoDB database “city” in the collection “inspections.”Be sure it can handle error conditions gracefully.a.Input -> argument to function will be set of key/value pairs in the data...