第 13 题 单选题
阅读下面代码,正确的输出是( )
Is=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15] for i in range(100): if i*i in ls: ls.append(i) if Is.count(i)==2: ls.remove(i) print(ls)
A.[1,4,9]
B.[4,5,6,7,8,9,10,11,12,13,14,15,1,2,3]
C.[5,6,7,8,9,10,11,12,13,14,15,1,2,3,4]
D.[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,2,3]