Question: Question 2 (5 points): In the same python script as question 1, after finishing all the question 1 tasks you should then perform the following

 Question 2 (5 points): In the same python script as question

Question 2 (5 points): In the same python script as question 1, after finishing all the question 1 tasks you should then perform the following tasks. Assume that data.txt is a data file in the following format: 12.1 -2.3 46.0 72.9 -108.5 etc. What you should do is read the data file, compute the average value of all positive numbers, compute the average value of all negative numbers, and print both of them for the user to see

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!