QuestionQ19
VerifiedPython Basics for Data AnalysisYou are creating a function to validate battery-voltage readings. The rules are:
- If the reading is
"MISSING"orNone, return"Missing". - If the value is less than 2.5 or greater than 4.2, return
"Outlier". - Otherwise, return
"Normal".
Which version correctly implements this logic with the most robust conditional and nested structures? Select the best answer.
Community Discussion