Question: Using python, write code for problem. The file JusticesDict.dat is used for this problem and i have uploaded that file to my google drive and

Using python, write code for problem. The file JusticesDict.dat is used for this problem and i have uploaded that file to my google drive and shared the link here, since there is no option to upload the file here. Please also put screenshot of your code. Using python, write code for problem. The file JusticesDict.dat is usedfor this problem and i have uploaded that file to my google

JusticesDict.dat file

https://drive.google.com/file/d/0B1GZQvpTojdPR2FOejFlQXY5a1E/view?usp=sharing

In Exercises 51 through 54, use the file JusticesDict.dat that stores a dictionary contain- ing data about the Supreme Court justices, past and present. Each item of the dictionary has the form "name of justice:data dictionary" The data dictionary for a justice contains their appointing president, the state from which they were appointed, the year appointed, and the year they left the court. (For current justices, the year they left the court is set to 0 Three items from the dictionary are as follows: Earl Warren ('pres Dwight Eisenhower yrLeft':1969, 'yrAppt' 1953, state CA') Sonia Sotomayor Press Barack Obama 'yrLeft' 0, yrAppt. 2009 state 'NY' Salmon Chase yrAppt 1864, 'pres Abraham Lincoln state OH yrLeft. 1873) 51. Supreme Court Write a program that requests the name of a president as input and then displays the names and years of the justices appointed by that president. See Fig. 5.36

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!