Question: In this take - home lab assignment, Mary completed the get _ y ( x , a , b , c ) function as follows:

In this take-home lab assignment, Mary completed the get_y(x,a,b,c) function as follows:
def get_y(x, a, b, c):
y = a*x**2+ b*x + c
print("y")
Which statement(s) in the following is/are correct?
(Choose All correct answer(s))
Group of answer choices
For the last statement, Mary should type: return y
The term a*x**2 does not work. It should be a*(x**2).
For the last statement, Mary should type: print(y)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!