Question: Python Question 4b (2 points): Finding Edge Cases The code below tries to solve the linear system: ax + b = cx+d Find an input
Question 4b (2 points): Finding Edge Cases The code below tries to solve the linear system: ax + b = cx+d Find an input (A, B, C, D) that produces incorrect rosults. For the purposes of this question, False is inputs (strings, lists, etc.) considered a correst result for non-numeric Miy thest soke iner B do produce correct resuts B = "b" #Do not modify the code below this line def solveLinearBadka, b, c, d) for i in [a, b, c, dl: if type() not in (int, float): return False return x in [80) ## This is what the autograder will see: solveL inearBadA, B, C, D) Out[80]: False in [81): | # Hidden test call for 4b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
