Question: A chemical engineering experiment is collecting data from sensors , but occasionally some readings are outliers and need to be skipped. Write a program to
A chemical engineering experiment is collecting data from sensors but occasionally some readings are outliers and need to be skipped. Write a program to analyze sensor data, skipping outliers using the continue statement.
Requirements
Write a function called analyzesensordata taking in a list
Iterate through the list, if your data is less than or greater than print "Outlier detected, skipping..."
If it is not an outlier print "Processing sensor data: data
Add this function to your main function, feeding it a list of command line arguments.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
