please find attached questions,
https://drive.google.com/file/d/1Xz5GwV0PswLHvdgqTWG6HgnQ0PEp1cD4/view?usp=sharing
result = {"Kate":87,
"John":45,
"Sam":65,
"Tom":94,
"Peter":54,
"Paul":89,
"James":76,
"Joseph":65,
"Mary":58,
"Joyce":56}
result_sorted = sorted(result.items(), key=lambda x:x[1], reverse=True)
result_sorted
max(result_sorted)
min(result_sorted)
np.mean(result_sorted[1][1])
Comments
Leave a comment