Question: I need assist in properly structuring this for python 3.x snipped code below. It does not run correctly Here is what I am trying to
I need assist in properly structuring this for python 3.x snipped code below. It does not run correctly
Here is what I am trying to script.
toxic is greater than 10,000 and less than or equal to 25,000 pound in blue
Next, the result should show two sets of (that is, >25,000 and between 10,000 and 25,000) in red and blue font, respectively
Snipped code just trying get it formatted properly were python reads each if statement and it condition. It not doing it in the following format.
if toxic > 25000:
txt = "
if toxic <=25000:
txt = "
if toxic > 10000:
txt = "
#return txt
return txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
