Python Lambda Function With Multiple Inputs Html Table