3.5 LAB: Air Quality Index (IN PYTHON PLZ) The purpose of the Air Quality Index (AQI) is to help us understand what loca

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

3.5 LAB: Air Quality Index (IN PYTHON PLZ) The purpose of the Air Quality Index (AQI) is to help us understand what loca

Post by answerhappygod »

3.5 LAB: Air Quality Index (IN PYTHON PLZ)
The purpose of the Air Quality Index (AQI) is to help usunderstand what local air quality means to our health. The higherthe AQI value, the greater the level of air pollution, which meansthe greater the health concerns. It's an easy way to determine ifwe can enjoy the outdoors as usual or if we should considerplanning an indoor activity to reduce exposure to polluted air. Ifcurious, checkout the air quality in Riverside on WeatherUnderground
3 5 Lab Air Quality Index In Python Plz The Purpose Of The Air Quality Index Aqi Is To Help Us Understand What Loca 1
3 5 Lab Air Quality Index In Python Plz The Purpose Of The Air Quality Index Aqi Is To Help Us Understand What Loca 1 (157.77 KiB) Viewed 43 times
Write a program that prompts a user to enter the AQI value andthen determine the air quality level and corresponding message. Ifthe user enters an invalid input or input out of range, then youshould print out "Invalid input". Please note, the output mustmatch exactly to pass the test cases.
Below is sample output (bold = user input)
please help
3.5 LAB: Air Quality Index The purpose of the Air Quality Index (AQI) is to help us understand what local air quality means to our health. The higher the AQI value, the greater the level of air pollution, which means the greater the health concerns. It's an easy way to determine if we can enjoy the outdoors as usual or if we should consider planning an indoor activity to reduce exposure to polluted air. If curious, checkout the air quality in Riverside on Weather Underground. Good is 0 to 50. No health impacts are expected when air quality is in this range. Moderate is 51 to 100. People who have a unique sensitivity to air pollution should consider limiting prolonged or heavy outdoor exertion. Unhealthy for Sensitive Groups is 101 to 150. People with heart and lung disease, older adults and children are at a greater risk and should limit prolonged or heavy outdoor exertion. Unhealthy is 151 to 200. Everyone may begin to experience some adverse health effects and should limit prolonged or heavy outdoor exertion. Members of the sensitive groups should avoid prolonged outdoor exertion. Very Unhealthy is 201 to 300. People with heart and lung disease, older adults and children should avoid all outdoor physical activity. Everyone else should avoid prolonged or heavy outdoor exertion. Hazardous is 301 to 500. The entire population is more likely to experience serious health effects and should avoid all outdoor physical activity, remain indoors and keep activity levels low. Write a program that prompts a user to enter the AQI value and then determine the air quality level and corresponding message. If the user enters an invalid input or input out of range, then you should print out "Invalid input". Please note, the output must match exactly to pass the test cases. Below is sample output (bold = user input) Enter the AQI: 215 Very Unhealthy is 201 to 300. People with heart and lung disease, older adults and children should avoid all outdoor physical activity. Everyone else should avoid prolonged or heavy outdoor exertion Enter the AQI: 600 Invalid Input Enter the AQI: 15 Good is 0 to 50. No health impacts are expected when air quality is in this range. 414776.1710972.qx3zqy7 LAB ACTIVITY 1 3.5.1: LAB: Air Quality Index Develop mode Submit mode Enter program input (optional) main.py 0/3 Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply