adplus-dvertising
frame-decoration

Question

What is the output of print(math.copysign(3, -1))?

a.

1

b.

1.0

c.

-3

d.

-3.0

Posted under Python

Answer: (d).-3.0

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of print(math.copysign(3, -1))?