結果 : how to use if inside lambda function in python