Question: Write a load Buildings function. It accepts the file name as input and returns a dictionary of building codes as the keys and building
Write a load Buildings function. It accepts the file name as input and returns a dictionary of building codes as the keys and building names as the values. Q5.2 1 Point Write a getkeys function. It accepts a dictionary as input and returns a string of comma-separated keys in alphabetical order. Q5.3 1 Point Write a getBuilding function that accepts a dictionary as input and a building code. It returns either the building name or "Not found".
Step by Step Solution
There are 3 Steps involved in it
Question 1 1 Create an empty dictionary named buildingdict 2 Open the file with the given name in re... View full answer
Get step-by-step solutions from verified subject matter experts
