Question #342

What is the output of the code snippet below?
import math
print(math.copysign(-1, -1))

math.copysign() returns a float with the absolute value of x but the sign of y. (docs.python.org/3/library/math.html)


Comment on Disqus:

Comment on Twitter:

Question difficulty: šŸ”µšŸ”µšŸ”µšŸ”µšŸ”µ


Similar questions: