第42271题 单选题
下面代码实现了对两个数组表示的正整数的高精度加法(数组低位在前),则横线上应填写( )。
def add(a, b):
    c = []
    carry = 0

    i = 0
    while i < len(a) or i < len(b):
        if i < len(a):
            carry += a[i]
        if i < len(b):
            carry += b[i]

        ____________________

        i += 1

    if carry:
        c.append(carry)

    return c
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析