What will be the output of the following Python function? min(max(False,-3,-4), 2,7)
Choose the correct option from below list
(1)-4
(2)-3
(3)2
(4)False
Answer:-(4)False
Note:-Max() function is sued to find max value between(false,-3,-4) false amounts to the value zero, hence we are left with min(0, 2, 7) Hence the output is 0 (false). | |