D1={1:40,2:70,3:70} D2={1:40,2:50,3:60} D3={1:70,2:80,3:90} all_dict = {'Suniti':D1,'Ryna':D2,'Ziva':D3} print(all_dict['Ryna']) highest=0 for i in all_dict['Ryna']: print(i,end=" ") print(all_dict['Ryna'][i]) if all_dict['Ryna'][i] > highest: highest=i print("Highest mark of Ryna in subject ",i)