How do I fix my closed form mathematical formula that returns 0 or 1 only whether or not theformula is true or false?
I need help with my mathematical formula in python. I want to fix it because it’s returning -1 for some values and it’s not properly returning 0 and 1 when n is the right number.
Using boolean operator(or) with ELSIF and IF statements – “True” result disrupts OR flow
I’m trying to create a BMI Calculator with a number of elsif statements.