[Solved]John Weather Station House Bee Keeping Track Fastest Wind Speed Day Two Weeks Would Like K Q37123521
John has a weather station in his house. He has bee keepingtrack of the fastest wind speed for each day for two weeks. Hewould like to know the average wind speed over the two weeks, thedays on which the highest wind speed and the lowest wind speed wererecorded, and the difference between the highest wind speedrecorded and each day’s average wind speed.
1. Only write the python code for this exercise, no otherrepresentations necessary
2. Create an array for the 14 days of the two weeks using therandom number generator ( these are interpreted as the 14
highest wind speeds . ( use a fixed” random.seed” of 42 so thatyou will get a constant sequence of values each time you run this,so you can calculate and check)
Set up an array, winds, initialize it with theempty array. and then append to it the 14 randomnumbers
Use a for loop for this.
Now , out of those 14 values, find the highest, and then thelowest.
Next find the average of all 14 values.
Print these out in an intelligible manner.
Modify the random function to return values in therange of 0 to 30 ( representing highest wind speeds) See assignment7. and 7.5 for hint on the random functions
Use this function to populate your array andthen calculate the requirements of Mr.John.
Expert Answer
Answer to John has a weather station in his house. He has bee keeping track of the fastest wind speed for each day for two weeks. … . . .
OR

