import pymongo
connection= pymongo.MongoClient('mongodb://localhost:27017/')
database = connection['testtables']
collection = database['students']
myquery = {"name" : "kumar"}
collection.delete_one(myquery)

e84d9c1672c54c04d6c6398dd1c285ff5cfc23c3
<mask token>

<mask token>
collection.delete_one(myquery)

<mask token>
connection = pymongo.MongoClient('mongodb://localhost:27017/')
database = connection['testtables']
collection = database['students']
myquery = {'name': 'kumar'}
collection.delete_one(myquery)

import pymongo
connection = pymongo.MongoClient('mongodb://localhost:27017/')
database = connection['testtables']
collection = database['students']
myquery = {'name': 'kumar'}
collection.delete_one(myquery)

import pymongo
connection= pymongo.MongoClient('mongodb://localhost:27017/')
database = connection['testtables']
collection = database['students']
myquery = {"name" : "kumar"}
collection.delete_one(myquery)
