Home > Back-end >  Ask for help
Ask for help

Time:10-03

How do you write this in Python3 function?

CodePudding user response:

 
By using the formula method
A=int (input ())
B=int (input ())
C=int (input ())
Sqrtdeta=(b * * * a * c) 2-4 * * 0.5
X1=(sqrtdeta - b)/(2 * a)
X2=(- sqrtdeta - b)/(2 * a)
  • Related