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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started