結果 : lambda function in python with if condition and for loop