1.下面程序执行完毕后,最终的结果是?( )Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
a=[34,17,7,48,10,5]Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
b=[]Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
c=[]Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
while len(a)>0:Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
s=a.pop()Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
if(s%2==0):Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
b.append(s)Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
else:Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
c.append(s)Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
print(b)Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
print(c)Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
A、[34, 48,10] [17, 7, 5]Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
B、[10, 48, 34] [5, 7, 17]Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
C、[10, 48, 34] [17, 7, 5]Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库
D、[34, 48, 10] [5, 7, 17]Sda100150满分答卷(100150.com)-青少年编程等级考试及竞赛题库