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 

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

1 Expert Approved Answer
Step: 1 Unlock

Question 1 1 Create an empty dictionary named buildingdict 2 Open the file with the given name in re... View full answer

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 Algorithms Questions!