1.

What will be the output of print(math.copysign(3, -1))?(a) 1(b) 1.0(c) -3(d) -3.0

Answer» The correct option is (d) -3.0

The best explanation: The copysign function returns a float whose absolute value is that of the first argument and the sign is that of the second argument.


Discussion

No Comment Found