def predict_dust_index(pm25): | |
if pm25 < 12: | |
return "Good" | |
elif pm25 < 35.5: | |
return "Moderate" | |
elif pm25 < 55.5: | |
return "Unhealthy for Sensitive Groups" | |
else: | |
return "Unhealthy" | |
def predict_dust_index(pm25): | |
if pm25 < 12: | |
return "Good" | |
elif pm25 < 35.5: | |
return "Moderate" | |
elif pm25 < 55.5: | |
return "Unhealthy for Sensitive Groups" | |
else: | |
return "Unhealthy" | |