how to give lambda function in python for loop code example Example: python lambda for loop x = lambda x: (for i in x : print i)