Determinant
Given as input 4 space-separated integers a b c d, write a program to output the value ad – bc. The value of each integer is between - 10000 and 10000
line = input() a, b, c, d = [int(s) for s in line.split()] det = a*d - b*c print(det)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment