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