tupledemo = (1,1,2,3,4,5,6,6) setnew = {x**2 for x in tupledemo if x%2==0} print(setnew) 以上代码的运行结果为?
A. {16, 4, 32}
B. {16, 36}
C. {16, 4, 36}
D. {16, 4}
dictdemo = {'1':1,'2':2,'3':3} setnew = {x for x in dictdemo.keys()} print(setnew) 以上代码的运行结果为?
A. {'2', '1'}
B. {'2', '1', '3'}
C. {'2', '3'}
D. {'1', '3'}