Question: WHAT AM i DOING WRONG AND HOW CAN I FIX THIS INTENDED BLOCK? untitledo.py return print(Evaluating name of function(@, @)) print(Expected: + str(answer_you_expect)) print(Got:

 WHAT AM i DOING WRONG AND HOW CAN I FIX THIS

WHAT AM i DOING WRONG AND HOW CAN I FIX THIS INTENDED BLOCK?

untitledo.py return print("Evaluating name of function(@, @)") print("Expected: " + str(answer_you_expect)) print("Got: " + str(name_of_function(@, o))) #Excercise 2 # code No further documentation available 68 69 70 71 72 73 74 75 76 77 78 79 def quad_roots_real(a,b,c): if ((b*b)-(4*a*c)) 0 and y>0 and alpha>0 and (1-alpha)>0): value=(x**alpha)*(y**(1-alpha)) return value # if positive return value else: print('Error! -ve values entered. Please enter +ve values') # print error message return None # if negative return None IndentationError: expected an indented block In [18]: print(utility positive(1,-1,2)) # negative values IPython console History

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!