Python Lambda Function Two Variable Limit