Vidyalelo
Python · Q51

Module in Python

Programming · Python · question 51

Q51

What is returned by math.modf(1.0)?

A.
(0.0, 1.0)
Answer
B.
(1.0, 0.0)
C.
(0.5, 1)
D.
(0.5, 1.0)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board