...

/

Challenge: Create a Dictionary and Replace Key-value Pairs

Challenge: Create a Dictionary and Replace Key-value Pairs

Write code to create a dictionary that contains students' names and scores and then replace the scores with the total and average scores.

Create a dictionary that contains students’ names and scores obtained in three subjects. Write a program to replace the scores in the three subjects with the total and average scores. Also, report the top student in the class:

...