Question: using python Instructions How ugent is the global warming issue? The urgency depends on cuickly excees sale levels of carbon dioxide (Colin the atmosphere levels


using python
Instructions How ugent is the global warming issue? The urgency depends on cuickly excees sale levels of carbon dioxide (Colin the atmosphere levels have increases Fround 1930, the levels of Contemosphere was 200 ppm (parts permion. Since the destrul revolution levels by C C 2015, the levels of CD had rcreased to buns 4 Upom. Along with these elevated Coplevels, we have seen the average global temperature increase above pre-industrial Soma cimata scientists' models predicted that we could possibly stain the c o m perare la cremasa awthaministri pari wa mabaso beep our carbon dioxide concentrations belon 450 pm you will then ourput the maxim. Oy lewe encountered ribavale is 450 amor create. I wilal In this problem. You willead in ais of imeger con readings in ppm flowed by a negalvenieder var marks the end of the data al rom this of CO2 vues, you will determine the maximum where autput a waming Details mput Tha nogom shauid read in a list of post va integers, represencing the carbon dioxide (002 lovels in pam, to lown by ons negative Integer Processing Determine the maximum Collraschad. Daarmee whether the maximum low rechas a high-risk walue at 45 pam or gaat lo do this you will have to read in the remaining positte integersal input that exists unnthe velues became negative o Check each to see this o n the maximum you have seen so far Output Output Maxtolowed by the maximum CO2 ve reached, including unitsippm If this maximum levelrechas a high Sample input/output level outpur. Warring high risk on are in the teet must be tamaa nawine character Sample input Sample output 230 Fax: 220 you 430 YA: 473 Warning - b rick Max: 396 pou 996 370 462 Max: 402 pou Garning - bir risk pod4.py New 1 ## 2 # CSCI 1105 3 # Week 6, POD 3 4 # @author: Angela Siegel, ================# 6 #========== 7 # PLEASE MODIFY AS REQUIRED 8 #==; # 10 maxCO2 = 0 11 HIGH_RISK_AMOUNT = 450 13 # Read in first value 14 newValue = int(input()) 16 # Hint: You are going to need to use a while loop! 19 20 21 print( "Max:", maxCO2, "ppm") 23-if ( maxCO2 == HIGH_RISK_AMOUNT) : 24 print("Warning - high risk")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
