Question: Hello I needed advice on this problem. Can someone explain it better in depth? Using Python and garbageData.txt. Using Python, read the numbers from text

Hello I needed advice on this problem. Can someone explain it better in depth? Using Python and garbageData.txt.Hello I needed advice on this problem. Can someone explain it betterin depth? Using Python and garbageData.txt. Using Python, read the numbers from

Using Python, read the numbers from text file garbage Data.txt Store those numbers in an array and output to the screen (Spyder) the following statistics: Sum of all the numbers The average The standard deviation For each number in your array, identify which quintile they belong to: Number Quintile 1 - 20 A 21-40 B 41 - 60 61 - 80 D 81 - 100 E Store the values of the array along with their Quintile into a new text file named myOutput.txt. This should be in a list format where you will list the number and the quintile. The first few lines should look like this: 40 B 50C 98 E At the end of file (myOutput.txt), also save a table stating the count of numbers that fall into each quintile. For example, it should look similar to this (the numbers below are not accurate so your output should NOT have the same numbers): A4 B6 C3 DS E 7 48 8 8 43 28 18 67 84 2571 754 2 62 6 49 8 95 44 11 22 3 44 55

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!