import pymongo

c = pymongo.MongoClient("mongodb://106.75.227.42:27017/runoob")
db = c['runoob']
col = db['sites']

for x in col.find({ "name": { "$gt": "H" } }):
	print(x)
print()

for x in col.find({ "name": { "$regex": "^R" } }):
	print(x)
print()
f60c50b4b36c9e1fc972cc7a1b521b9eec7747e6
<mask token>

<mask token>
for x in col.find({'name': {'$gt': 'H'}}):
    print(x)
print()
for x in col.find({'name': {'$regex': '^R'}}):
    print(x)
print()

<mask token>
c = pymongo.MongoClient('mongodb://106.75.227.42:27017/runoob')
db = c['runoob']
col = db['sites']
for x in col.find({'name': {'$gt': 'H'}}):
    print(x)
print()
for x in col.find({'name': {'$regex': '^R'}}):
    print(x)
print()

import pymongo
c = pymongo.MongoClient('mongodb://106.75.227.42:27017/runoob')
db = c['runoob']
col = db['sites']
for x in col.find({'name': {'$gt': 'H'}}):
    print(x)
print()
for x in col.find({'name': {'$regex': '^R'}}):
    print(x)
print()

import pymongo

c = pymongo.MongoClient("mongodb://106.75.227.42:27017/runoob")
db = c['runoob']
col = db['sites']

for x in col.find({ "name": { "$gt": "H" } }):
	print(x)
print()

for x in col.find({ "name": { "$regex": "^R" } }):
	print(x)
print()