Mbpp/106

✅ 完美通过 Base: PASS Plus: PASS
测试评估
指标结果
Base 测试PASS
Plus 测试PASS
代码长度312 字符
模型生成的代码 (312 字符)
def add_lists(lst, tup):
    """
    Append the given list to the given tuple.

    Parameters:
    lst (list): The list to append.
    tup (tuple): The tuple to which the list is appended.

    Returns:
    tuple: A new tuple with elements of tup followed by elements of lst.
    """
    return tup + tuple(lst)
Base 失败测试用例
  • 无失败测试
Plus 失败测试用例
  • 无失败测试