Compsci 101, Dictionaries Problem 2
This exercise is for collaborative work during class. Do not fill out early!
Sign in to Google to save your progress. Learn more
Consider the Python dictionary below on schools that map schools to number of students in their Photography club
d = {'duke':30, 'unc':50, 'ncsu':40, 'wfu':50, 'ecu': 80, 'meridith':30, 'clemson':80, 'gatech':50, 'uva':120, 'vtech':110}


Using d, how could you create a new dictionary that can easily answer questions such as, which schools have X students in the club? *
Using d, how could you create a new dictionary that maps groups of 50 students, groups 0-49, 50-99, etc.? That is, it would answer questions such as which schools have 49 or fewer students in their Photography Club, or which have 50-99 students in their Photography Club. *
Names and Netids below
Names (comma separated) *
netid *
netid (partner)
netid (partner)
netid (partner)
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy