reflect the true three-fold decision of the original problem imagine if we needed to make fiveway decision using this technique the if-else structures would nest four levels deepand the python code would march off the right-hand edge of the page there is another way to write multi-way decisions in python that preserves the semantics of the nested structures but gives it more appealing look the idea is to combine an else followed immediately by an if into single clause called an elif (pronounced "ell-if"if elif elif elsethis form is used to set off any number of mutually exclusive code blocks python will evaluate each condition in turn looking for the first one that is true if true condition is foundthe statements indented under that condition are executedand control passes to the next statement after the entire if-elif-else if none of the conditions are truethe statements under the else are performed the else clause is optionalif omittedit is possible that no indented statement block will be executed using an if-elif-else to show the three-way decision in our quadratic solver yields nicely finished program quadratic py import math def main()print("this program finds the real solutions to quadratic\ "abc eval(input("please enter the coefficients (abc)")discrim if discrim print("\nthe equation has no real roots!"elif discrim = root - ( aprint("\nthere is double root at"rootelsediscroot math sqrt( croot (- discroot( aroot (- discroot(