write a python function Find_Min_Max(A) (Refer RollNo_W9B_2.py ) which takes a dictionary as input parameter and return the name of student pair having minimum and maximum marks in the class
1
Expert's answer
2022-02-16T13:24:33-0500
defFind_Min_Max(A):
'''
function takes a dictionary as input
parameterand return the name of
student pair having minimum and maximum marks
'''
names = sorted(A, key=A.get)
return names[0], names[-1]
test = {"John":59, "Kira":99, "Michael":90}
print(*Find_Min_Max(test),sep="\n")
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments