What will be the output of the following Python Code function?
min(max(False,-3,-4), 2,7)
Options:
1) -3
2) -4
3) 2
4) False
1) -3
2) -4
3) 2
4) False
Answer:
c) 2
Explanation:
The function max() is used to discover the greatest value between -3, -4, and false. Because false equals zero, we are left with min(0, 2, 7) and the outcome is 0. (false).
The function max() is used to discover the greatest value between -3, -4, and false. Because false equals zero, we are left with min(0, 2, 7) and the outcome is 0. (false).
Subscribe our youtube channel Click Here
Latest Jobs :-
Vodafone is Hiring Freshers for the role of Junior Software Developer with 5 LPA Apply Now
Nucleus software is Hiring Freshers for the role of Assistant Software Engineer with 4.25 LPA Apply Now
Genpact is Hiring Freshers for the role of Machine Learning Trainee 2022 Apply Now
Deloitte is hiring Freshers for the role of Analyst 2022 Apply Now
Plum is hiring Freshers as well as Experience candidates for the role Software Engineer- I Apply Now
Plum is hiring Freshers as well as Experience candidates for the role Software Engineer- I Apply Now

0 Comments