Write a function that displays the following the menu Make a

Write a function that displays the following the menu Make a choice Solve a quadratic equation Find factorial of a number Check whether the numbers form a Pythagorean triplet Press 0 to quit!

Solution

def disp():

print \'Make a choice\'

print \'1.Solve a quadratic equation\'

print \'2. find factorial of a number\'

print \'3.Check whether the numbers form a pythogorean triplet\'

print \'Press 0 to quit!\'

 Write a function that displays the following the menu Make a choice Solve a quadratic equation Find factorial of a number Check whether the numbers form a Pyth

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site