Question: Please Help me solve this question. It has to be done in Python Language. Please Don't use advanced python and solve it using basic python

Please Help me solve this question. It has to be done in Python Language. Please Don't use advanced python and solve it using basic python like functions, lists, tuples, dictionaries, strings, etc.Please Help me solve this question. It has to be done in

Question 3: Before you graduate, you get the signature from all your friends in your yearbook - which will be stored as a dictionary for the program. In this dictionary, the keys are the name of other students in the batch; the value is either 0 (for not signed) or 1 (for signed). Like you, all other students are also doing the same - and there is dictionary entry for each. For creating this dictionary, input is given in a file - if there are N students, then the file contains: name1: name 2,1 name3, 0 name4, 1 name2: name1, 0 name 3,0 name 4,0 (Like this data is there for all the graduating students). Write a program to determine who has the most signatures and who has the least (if there are more than one for max/min - print all). Suggestion. Initially manually create a dictionary yearbook ={ name1: {}, name2: {},}, and then determine students with most/least signatures. Then write a function to read the file and create this dictionary

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!