First Name Student ID Mary 1001 Peter 1005 Alexandra 1009 Sonia…
Question Answered step-by-step First Name Student ID Mary 1001 Peter 1005 Alexandra 1009 Sonia… First Name Student IDMary 1001Peter 1005Alexandra 1009Sonia 1010 1.Which fields should be the key and which one the value? For a dictionary2.Write code to initialize a list containing three pairs of names and student IDs as a tuple3.Write code to initialize a dictionary containing these values.4.Write code to remove the following pair from the list: Mary 10015.Write code to remove the following pair from the dictionary: Mary 10016.Develop a function that takes (1) a list (with name and student ID tuples) and (2) a student ID as input parameters. It returns all the student IDs associated with that name. The function must use a “for loop”. Dont write docstring, typeannotations are required. Computer Science Engineering & Technology Python Programming ECOR 1042 Share QuestionEmailCopy link Comments (0)


