题库 python等级考试 题目列表 下列代码的执行结果是? ()mylist=[Failure',is&#3...
单选题

下列代码的执行结果是? ()

mylist=[Failure',is',the','mother',of,success]

for x in mylist[:]:

     if len(x)<=3: 

          mylist.append(x)

print(mylist)


A.

[Failure',is,the',mother,'of,'success]

B.

[Failure',is,the','mother,'of,success','of,'is]

C.

[Failure','is','the','mother,'of,'success','is','of]

D.

[Failure','is',the',mother,'of,'success,'is,the','of]

题目信息
列表 二级知识块 2023年3月 一般
14%
正确率
0
评论
64
点击