Lambda Function Program In Python Using Loop