U.S. Senate?The file Senate113.txt contains the members of the 113 th U.S. Senate-that is, the Senate prior to the November 2014 election. Each record of the file consists of three fields-name, state, and party affiliation. 3 Some records in the file are as follows: 3We refer to anyone who is neither a Republican nor a Democrat as an independent. Richard Shelby, Alabama, R Bernard Sanders, Vermont, I Kristen Gillibrand,New York, D The file RetiredSen.txt contains the records from the file Senate113.txt for senators who left the Senate after the November 2014 election due to retirement, defeat, death, or resignation. Some records in the file are as follows: John Rockefeller, West Virginia, D Tom Coburn, oklahoma, R Car1 Levin,Michigan, D The file NewSen.txt contains records for the senators who were newly elected in November 2014 or who were appointed to fill the seats of senators who left after the November 2014 election. Some records in the file are as follows: Shelly Capito, West Virginia, R Steve Daines, Montana, R Gary Peters, Michigan, D (A) In python, write a program that determines the number of states whose two senators have the same party affiliation. (B) Also write a program that asks the user to input a state and then displays the two senators from that state, example below. The codes should be pulling the information from the created files in the above explanatory paragraph. .