1.

What is math.floor(0o10)?(a) 8(b) 10(c) 0(d) 9This question was addressed to me during an online interview.Query is from Math in portion Mapping Functions and Modules of Python

Answer» RIGHT ANSWER is (a) 8

Explanation: 0o10 is 8 and FLOOR(8) is 8.


Discussion

No Comment Found

Related InterviewSolutions