Question: In Python 4. (3 points) Below your function definitions, write a program that performs the following: - Call read_parts_list on each of the text files
4. (3 points) Below your function definitions, write a program that performs the following: - Call read_parts_list on each of the text files provided with the assignment. Store the returned dictionaries into variables named parts1 through parts6. - Verify the following by calling the appropriate functions and printing their return values: - parts1 is not a multisubset of parts2 - parts1 is a multisubset of parts3 - parts2 is a multisubset of parts3 - parts3 is a multisubset of itself - parts3 is not a multisubset of parts1 - parts3 is not a multisubset of parts2 - parts6 is a multisubset of parts4 - parts6 is not a multisubset of parts5 - get.missing parts(parts3, parts3) returns an empty dictionary - get-missing_parts(parts6, parts4) returns an empty dictionary - get.missing-parts(parts6, parts5) returns a dictionary with the following keyvalue pairs: '48336-115': 1,300386 ': 3,4286155 ': 18, '54200-12': 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
