Question: What is the output of the following Python program def func(a, b, c): q=b*b - 4 * a* c if q>= 0: else: r
What is the output of the following Python program def func(a, b, c): q=b*b - 4 * a* c if q>= 0: else: r A print (r) return q** 0.5 return -1 func(1, 6, 5)
Step by Step Solution
There are 3 Steps involved in it
he program defines a function func that takes three arguments a b and c It then calculates the value ... View full answer
Get step-by-step solutions from verified subject matter experts
