defs and lambdas do the same sort of work : Def : Function PYTHON TUTORIALS


PYTHON TUTORIALS » Function » Def »

 

defs and lambdas do the same sort of work


def func(x, y, z)return x + y + z
func(234)

f = lambda x, y, z: x + y + z
f(234)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Function
» Def