Get startedGet started for free

Glenn, George, and others in the G.B. crew

There are two laureates with Berkeley, California as a prize affiliation city that have the initials G.S. - Glenn Seaborg and George Smoot. How many laureates in total have a first name beginning with "G" and a surname beginning with "S"?

Evaluate the expression

db.laureates.count_documents({"firstname": Regex(____), "surname": Regex(____)})

in the console, filling in the blanks appropriately.

This exercise is part of the course

Introduction to MongoDB in Python

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise