Question: Using python, write code for problem. The text file Exchrate.txt is used in this problem and i have pasted contents of the file. Please also

Using python, write code for problem. The text file Exchrate.txt is used in this problem and i have pasted contents of the file. Please also put screenshot of your code.

Using python, write code for problem. The text file Exchrate.txt is usedin this problem and i have pasted contents of the file. Please

Exchrate.txt

America,Dollar,1 Argentina,Peso,8.405692 Australia,Dollar,1.070835 Austria,Euro,0.760488 Belgium,Euro,0.760488 Brazil,Real,2.237937 Canada,Dollar,1.086126 Chile,Peso,591.4077 China,Yuan,6.143665 Czech Rep.,Koruna,21.09312 Denmark,Krone,5.640121 European Union,Euro,0.760488 Finland,Euro,0.760488 France,Euro,0.760488 Germany,Euro,0.760488 Greece,Euro,0.760488 Hong Kong,Dollar,7.750659 Hungary,Forint,239.2141 Iceland,Krona,116.928 India,Rupee,60.53497 Ireland,Euro,0.760488 Israel,Sheqel,3.575005 Italy,Euro,0.760488 Japan,Yen,104.182 Korea (South),Won,1013.056 Kuwait,Dinar,0.284485 Mexico,Peso,13.08679 Netherlands,Euro,0.760488 New Zealand,Dollar,1.1929 Norway,Krone,6.187769 Pakistan,Rupee,102.5065 Peru,Sol,2.847159 Philippines,Peso,43.48437 Poland,Zloty,3.201264 Portugal,Euro,0.760488 Romania,Leu,3.344094 Russia,Ruble,37.17437 Saudi Arabia,Riyal,3.750675 Singapore,Dollar,1.248927 Slovakia,Euro,0.760488 South Africa,Rand,10.66882 Spain,Euro,0.760488 Sweden,Krona,6.982663 Switzerland,Franc,0.917854 Taiwan,Dollar,29.91087 Thailand,Baht,31.97966 U.A.E.,Dirham,3.673087 Ukraine,Hryvnia,12.83265 United Kingdom,Pound,0.602288 

8. Exchange Rates The text file Exchrate.txt gives information about the currencies of 49 major countries. The first eight lines of the file are as follows: America, Dollar,1 Argentina, Peso,8.405692 Australia Dollar, 1.070835 Austria, Euro, 0.760488 Belgium, 0.760488 Brazil, Real ,2.237937 Canada ,Dollar, 1.086126 Chile, Peso,591.4077 Each line of the file gives the name of a country, the name of its currency, and the number of units of the currency that were equal to one American dollar (called the exchange rate For instance, one American dollar is equal to 591.4077 Chilean pesos Use the text file Exchrate.txt in parts (a), (b), and (c)

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!