OpenSourceCornell / Spring_2018_WICC_OSC

The Git Workshop for the Spring 2018 WICC and Open Source Cornell Introduction to Open Source event.
1 stars 21 forks source link

dictionarySums #26

Open alexanderGGreenberg opened 6 years ago

alexanderGGreenberg commented 6 years ago

Implement the funciton in src/dictionarySums.py with the following specification:

return the sums of the values corresponding to the given dictionary keys ex: {I: 1.0, Love: 5.0, Python: 2.5, Java: 3.2}, ['I', 'Love', 'Java'] assume that every key in the keys list is in the dictionary. return: 1.0 + 5.0 + 3.2 = 9.2