testScores = {"John":[80, 85, 90],"Sally":[85,90,95],"Juan":[80, 80 , 90 ,90]} names = list(testScores) names.sort() for name in names: total = 0 for grade in testScores[name]: total += grade print(name,"'s average score is ",\ format(total/len(testScores[name]),".2f"),sep="")