PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
What is the output of print(math.copysign(3, -1))?
A. 1
B. 1.0
C. -3
D. -3.0
Show Answer
Next Question
Correct Answer:
D
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.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap