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 and with font size 8 .

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 = "" + name + ""

if toxic <=25000:

txt = "" + name + ""

if toxic > 10000:

txt = "" + name + ""

#return txt

return txt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!