Python MongoDB Delete Document

To delete one document, we use the delete_one() method. In MongoDB, a single document can be deleted by the method delete_one().

Code :