if not isinstance(a, (int, float)) or not isinstance(b, (int, float)) or not isinstance(v, (int, float)) : raise TypeError("bad operand type") x1=(-b+math.sqrt(math.pow(b,2)-4*a*c))/(2*a); x2=(-b-math.sqrt(math.pow(b,2)-4*a*c))/(2*a); return x1,x2;
Sign in to make a reply
放羊的实习生