4 1. Search for your own name. Are there both boys and girls that have your name?
5 Is it more popular for one group than for the other?
6 2. Are there more boys names or girls names? What about for particular letters?
7 What about for every letter?
8 3. What is the longest name in the dataset?
9 4. How many boys and girls are described in the dataset (i.e., how many boys
10 and girls born in 2013 have names given to at least four others)?
11 5. How many boys names are also girls names? How many girls names are also boys
13 6. How many names are subsets of other names?
14 7. Write a program that will take a name as input and return the number of
15 girls and boys with that name.
16 8. What is the most popular girls name that is also a boys name?
17 9. Take a prefix as input and print the number of boys and girls with that
18 prefix. (i.e., "m" would list babies whose names start with "m" and "ma"
19 would list babies whose names start with "ma", etc).
24 Answers to the babynames project created for the Community Data Science
25 Workshop: http://wiki.communitydata.cc/Baby_Names
27 Answers were created by:
29 * Daniel Epstein <depstein@cs.washington.edu>
30 * Benjamin Mako Hill <makohill@uw.edu>
32 All answers are written for Python 3.