Q A - Z O N E
Pages
Home
HDFS
HIVE
LINUX
MY SQL
Shell Scripting
Sqoop
Python
Lambda Function with if-else
# Code to use lambda function with if-else
Minimum =
lambda
x, y : x
if
(x < y)
else
y
print
(Minimum(
35
,
74
))
Output:
35
3535
Home
Subscribe to:
Posts (Atom)