Question: Python Program 3.5 - Champion Counter Create a program that reads a text file that contains a list of FIFA World Cup champions and determines,
Python Program 3.5 -
Champion Counter Create a program that reads a text file that contains a list of FIFA World Cup champions and determines, by the display shown below, the country that has won the most championships. Use the world_cup_champions.txt file provided for you in this Module for your program.
When the program starts, it should read the text file and use a dictionary to store the required data using the name of each country that has won the World Cup as the key.
The program should display the countries alphabetically.
Text File Year,Country,Coach,Captain
1930,Uruguay,Alberto Suppici,Jos Nasazzi
1934,Italy,Vittorio Pozzo,Gianpiero Combi
1938,Italy,Vittorio Pozzo,Giuseppe Meazza
1950,Uruguay,Juan Lpez,Obdulio Varela
1954,Germany,Sepp Herberger,Fritz Walter
1958,Brazil,Vicente Feola,Hilderaldo Bellini
1962,Brazil,Aymor Moreira,Mauro Ramos
1966,England,Alf Ramsey,Bobby Moore
1970,Brazil,Mrio Zagallo,Carlos Alberto
1974,Germany,Helmut Schn,Franz Beckenbauer
1978,Argentina,Csar Luis Menotti,Daniel Passarella
1982,Italy,Enzo Bearzot,Dino Zoff 1986,
Argentina,Carlos Bilardo,Diego Maradona
1990,Germany,Franz Beckenbauer,Lothar Matthus
1994,Brazil,Carlos Alberto Parreira,Dunga
1998,France,Aim Jacquet,Didier Deschamps
2002,Brazil,Luiz Felipe Scolari,Cafu
2006,Italy,Marcello Lippi,Fabio Cannavaro
2010,Spain,Vicente del Bosque,Iker Casillas
2014,Germany,Joachim Lw,Philipp Lahm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
