🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following python code?

min=(lambda x,y: x if x<y else y)
min(101*99, 102*98)
A
9997
B
9999
C
9996
D
None of the mentioned
Explanation

The lambda function compares the two values:

  • 101 * 99 = 9999
  • 102 * 98 = 9996

Since 9996 is smaller, the output will be 9996.

The correct answer is (C) 9996.

Correct Answer: C) 9996

Latest Updates