Title Creating a Dictionary of Student-Scores Pairs
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_student_score&ch=py_score_dict2
Platform Name PCEX
Features
Description Assume we have a list of students and a list of their corresponding test scores. Construct a program that has two functions:\n- a function that receives these two lists and returns a dictionary that maps each student to the scores of that student, and \n- a function that receives the dictionary created by the above function and calculates the average score of each student
Keywords dictionaries, dictionary
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_student_score&ch=py_score_dict2
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview