Keyboard input to the three numbers a, b, c, the output value according to the formula

Sequentially input in the same row three values ​​a, b, c, separated by spaces, the output value of b * b-4 * a * c of

Input formats:

Enter the number of three in a row.

Output formats:

Formula values ​​output in a row.

Sample input:

Here we are given a set of inputs. E.g:

3 4 5
 

Sample output:

Given here corresponding output. E.g:

-44
a,b,c=map(int,input().split())
sum=b*b-4*a*c
print(sum)

  

 

Guess you like

Origin www.cnblogs.com/SkystarX/p/12175559.html