Question: I dont know what these Python questions want me to do. Can you write a python code? PART 1) BASIC FUNCTIONS Write a function that
I dont know what these Python questions want me to do.
Can you write a python code?
PART 1) BASIC FUNCTIONS Write a function that uses print statements to draw the box below. Then write a function called ladder that draws 5 of this in a row to draw a ladder. Run the ladder function to show that it works PART 2) SOLVING MATH PROGRAMS BY RETURNING A VALUE. Write a function called plusRoot that accepts three numbers (a,b,c). It should then find and return the root of the equation ax2 + bx + c = 0 using the positive version of the quadaratic formula: 2a Then write the pair function called negRoot that accepts three numbers (a,b,c) and finds and prints the 2nd root using the negative version of the quadratic, X,- 2 Then in your main program show that you program works by finding the roots of the two equations below, catching the result and printing out the results. 1x2-2x-35 = 0 Answers should be 7 and -5 4x2-24x + 35 Answers should be 2.5 and 3.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
