测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A32668. 下列程序段的输出结果是? ( )L= []x=3def test(x): L.append(x)X=5test(x)print('L={},x={}'.format(L,x))

单选题 较难

题目描述

下列程序段的输出结果是? (    )

L= []

x=3

def test(x):

    L.append(x)

X=5

test(x)

print('L={},x={}'.format(L,x))

选项(单选)

上一题 下一题