

InterviewSolution
Saved Bookmarks
1. |
What is returned by math.modf(1.0)?(a) (0.0, 1.0)(b) (1.0, 0.0)(c) (0.5, 1)(d) (0.5, 1.0) |
Answer» Right answer is (a) (0.0, 1.0) To explain: The first element is the fractional part and the second element is the integral part of the argument. |
|