单选题

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

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' ]

赣ICP备20007335号-2