🚀 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)
B)
C)
D)

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.

Latest Updates