Request New Subject
Home
Computer Science Engineering (CSE)
Python Programming
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]) (Solved)
1. 3 1
2. 1 3
3. error
4. none of the mentioned
a. 3 1
Related Topics
→ Computer Architecture and Organization
→ Microprocessor and Interfacing Technique
→ Computer Networks
→ Data Structure and Algorithms (DSA)
→ Operating System (OS)
→ Artificial Intelligence and Robotics (AIR)
→ Software Project Management (SPM)
→ Computer Fundamentals
→ High Performance Computing (HPC)
→ Data Communication and Computer Network
Subscribe Now
Get All Updates & News
Subscribe