Question: In python 3. The FIFA World Cup is soccer's most famous competition. National teams originate in one of six confederations from around the world, depending
In python 3.
The FIFA World Cup is soccer's most famous competition. National teams originate in one of six confederations from around the world, depending on their geographic location. These are CAF, CONCACAF, CONMEBOL, OFC, AFC, and UEFA (see https://www.fifa.com/associations/ - you will find a list of countries and their confederations at the link).
Create a dictionary with at least ten national teams that identifies their confederation. Make sure to include at least one entry for each of the six confederations.
Prompt the user to ask whether they would like to search a country or a confederation. If the user wishes to search a country, the program should return that country's confederation. If the user wishes to search a confederation, the program should return ALL countries in that confederation (all that are in your dictionary, anyway
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
