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 analyze_sensor_data taking in a list
Iterate through the list, if your data is less than -99 or greater than 99, 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 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 Programming Questions!