1 # 4. How many boys and girls are described in the dataset (i.e., how many boys
2 # and girls born in 2013 have names given to at least four others)?
7 for boysName in ssadata.boys.keys():
8 numberOfBoys = numberOfBoys + ssadata.boys[boysName]
11 for girlsName in ssadata.girls.keys():
12 numberOfGirls = numberOfGirls + ssadata.girls[girlsName]
14 print("There are " + str(numberOfBoys) + " boys and " + str(numberOfGirls) + " girls in the data set.")