ASSIGNMENT OF DICTIONARY?



create multiple dimension dictionary to store five student record and display max, min, total fees of students.

rno name branch fees
1001 xyz  CS       45000
1002 abc   IT       22000

The solution of This Program:-
stu = {'rno':[1001,1002],'sname':['manish','ramesh'],'branch':['CS','IT'],'fees':[45000,12000]}



for key in stu:
    print(key,end=' ')
print() 
for j in range(0,len(stu['rno'])):
    print(str(stu['rno'][j])+" "+stu['sname'][j]+" "+stu['branch'][j]+" "+str(stu['fees'][j]))
 


WAP to convert a dictionary to set and set to the dictionary.


WAP to convert a dictionary to list and list to the dictionary.

WAP to create a multi-dimensions dictionary?

WAP to create a multi-dimension set?


WAP to Multi dimension Dictionary to Set?


set to a dictionary?  means create a dictionary under a set


set to a tuple?

tuple to set?

set to list?

Mark-sheet Program using Dictionary?





Post a Comment

If you have any doubt in programming or join online classes then you can contact us by comment .

Previous Post Next Post