M001-Chapter 4 Lab 1: Logic Operators -Answer

I tried to delete all the data,and recreate the cluster and datebase.
But all i get is the wrong result.
This really wasted time,can anyone give me the final right answer???

db.zips.find({"$and":[{“pop”:{"$lte":10000}},{“pop”:{"$gte":5000}}]}).count()

I think that 10000 is not the number asked.

1 Like

:joy:
Thank you for reminding,but I have used up three chances