Q. print(maximum(2, 3))

  • (A) 2
  • (B) 3
  • (C) the numbers are equal
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) 3
Explanation: the maximum function returns the maximum of the parameters, in this case the numbers supplied to the function. it uses a simple if..else statement to find the greater value and then returns that value.

Explanation by: Mr. Dubey
the maximum function returns the maximum of the parameters, in this case the numbers supplied to the function. it uses a simple if..else statement to find the greater value and then returns that value.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
745
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate