lambda function in python with for loop and if code example Example: python lambda for loop x = lambda x: (for i in x : print i)