set1 = {x for x in range(10) if x%2!=0} print(set1) 以上代码的运行结果为?
A. {1, 3, 5, 7, 9}
B. {1, 3, 5, 7}
C. {3, 5, 7, 9}
D. {3, 5, 7}
set1 = {x for x in range(10) if x%2!=0} set1.remove(1) print(set1) 以上代码的运行结果为?
A. {1, 3, 5, 7, 9}
B. {1, 3, 5, 7}
C. {3, 5, 7, 9}
D. {3, 5, 7}