πŸ“Š Python
Q. What is the output of the following code?
def foo(fname, val):
print(fname(val))
foo(max, [1, 2, 3])
foo(min, [1, 2, 3])
  • (A) 3 1
  • (B) 1 3
  • (C) error
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) 3 1

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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