Map Using Lambda Function Python With For Loop