下面程序执行完毕后,最终的结果是?( )
a=[34,17,7,48,10,5] b=[] c=[] while len(a)>0: s=a.pop() if(s%2==0): b.append(s) else: c.append(s) print(b) print(c)
[34, 48,10] [17, 7, 5]
[10, 48, 34] [5, 7, 17]
[10, 48, 34] [17, 7, 5]
[34, 48, 10] [5, 7, 17]