Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
WAP in python to input a nested dictionary and display records of people having average
greater than 30.
d={}
for i in range(5):
nm=input("enter name")
d[nm]={"maths":m1,"science":m2}
for i in d:
s=(d[i]["maths"]+d[i]["science"])/2
if s>30:
print(i)