Sail E0 Webinar
Question
What is the output of the functions shown below?divmod(10.5,5)divmod(2.4,1.2)
Options:
A .  (2.00, 0.50)(2.00, 0.00)
B .  (2, 0.5)(2, 0)
C .  (2.0, 0.5)(2.0, 0.0)
D .  (2, 0.5)(2)
Answer: Option C


See python documentation for the function divmod.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers