Compsci 101, Dictionaries Problem 1
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 code below on schools and the number of students at each school in their Photography club)
d = {'duke':30, 'unc':50, 'ncsu':40}

d['duke'] = 80
d.update({'ecu':40, 'uncc':70})
print  d.values()
What might the output be? *
Which of the following print out the key and items of the dictionary? *
Required
How would you use the dictionary above to determine which schools have more than 40 students? What code would you write? *
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