81.2k views
1 vote
This assignment has you open a web page, access the information in a table, and find specific items in the table. url - `/wiki/list of super bowl champions data to find:

- the number of times the green bay packers have won.
- the number of the highest attendance.
-in what year did this occur?
- the number of the lowest attendance what is the total attendance for all games?
- who was the referee for super bowl 49?

requirements:
include the comment header and comments throughout make sure there are no unhandled errors. display the results

User Metadings
by
7.9k points

1 Answer

4 votes

Final answer:

Extract the number of times the Green Bay Packers have won the Super Bowl, document the highest and lowest attendances with corresponding years, calculate the total attendance of all games, and identify the referee for Super Bowl 49.

Step-by-step explanation:

The correct answer to find the required details from the Super Bowl champions table can be achieved by accessing the webpage with the provided URL. To fulfill the task, you will need to extract the number of times the Green Bay Packers have won, identify the Super Bowl game with the highest attendance and the year it occurred, figure out which game had the lowest attendance, calculate the total attendance for all the Super Bowl games, and determine who was the referee for Super Bowl 49. It is crucial to include a comment header and comments throughout your code. Also, ensure error handling is in place to avoid any unhandled errors and display the results accurately.

To begin with, you can create a script or program to parse the data from the webpage, searching for specific table elements containing the statistics of the Green Bay Packers' championships and attendance figures. After accumulating the data, you would calculate the totals and display them accordingly. Remember to document your code properly for better understanding and maintainability.

User Macnique
by
7.8k points