Question: 10. implement the 10lowing function in the Pybev module functions.py and test it from a PyDev module named t1e.py def richter(intensity): Determines damage level given

 10. implement the 10lowing function in the Pybev module functions.py and
test it from a PyDev module named t1e.py def richter(intensity): Determines damage

10. implement the 10lowing function in the Pybev module functions.py and test it from a PyDev module named t1e.py def richter(intensity): Determines damage level given earthquake intensity measured on the Richter scale. Use: result - richter(intensity) Parameters: intensity Richter scale number for severity of earthquake (float >= ) Returns: result description of earthquake damage (str) Earthquake strengths are categorized as Richter Scale Number Characterization n= 7.5 Catastrophe most buildings destroyed Sample testing Richter Scale Number: 6.13 Serious damage: walls may crack or fall 10. Implement the following function in the PyDev module functions.py and test it from a PyDev module named to.py def richter(Intensity): Determines damage level given earthquake intensity measured on the Richter scale. Use: result richter(intensity) Parameters intensity - Richter scale number for severity of earthquake (float >= 0) Returns result description of earthquake damage (str) WW Earthquake strengths are categorized as Richter Scale Number Characterization n= 75 Catastrophe most buildings destroyed Sample testing Richter Scale Number: 6.13 Serious damage: walls may crack or fall

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!