just got back from home having mono :( I have missed too much and need to pass this class! how do I create this program!
In this program, you will
1) create an earthquake class with at least __init__, getMag, setMag, and display (which displays all of the information)
2) create a function that reads the earthquake file provided by me into a list of earthquake objects. Be sure to use exceptions when opening the file.
3) You will sort the list by magnitude
4) You will create a function that finds the average magnitude of all earthquakes,and display the information about the earthquake with the greatest magnitude.
5) You will plot a graph of magnitude versus the number of sites reporting