IF there are any typos regarding variables names in the rema…
IF there are any typos regarding variables names in the remaining questions the intent should be clear. NO answer stating syntax error will receive any points.Given a dictionary named quiz6, which stores the names and scores of the CS160 students who took the last quiz, display on screen all of the students who took the quiz. Don’t worry about the order of the names and their score. Make sure that the names are left justified and that the scores are right justified. Each line of data in the table should be 20 columns width. You do not need column headers.
Read DetailsThere is a dictionary named quizScores, which has students n…
There is a dictionary named quizScores, which has students names for the key and their quiz score for the value. There is a variable named name, which contains the name of a student. Write a function that accepts the dictionary and name variables. In the function write the code to determine if that student has taken the quiz or not. If they have taken the quiz display the result on screen, if not, state that they have not taken the quiz. The function does not return anything. Calling the function could look like: printStatus (quizScores, name)
Read Details