-1/3|-2/3的结果是()
A: -1/3
B: 1/3
C: -1
A: -1/3
B: 1/3
C: -1
举一反三
- 下列语句执行结果是[1, 2, 3, 1, 2, 3, 1, 2, 3]。 a = [1, 2, 3] print (a*3)
- 设集合A={1, 2, 3}, 不是A上的等价关系。 A: {(1, 1), (2, 2), (3, 3)} B: {(1, 1), (2, 2), (3, 3), (1, 3), (3, 1)} C: {(1, 1), (2, 2), (3, 3), (2, 3)} D: {(1, 1), (2, 2), (2, 3), (3, 2), (2, 1), (1, 2), (3, 3), (1, 3), (3, 1)}
- 代码如下: a = [1, 2, 3] b = range(4) 则a + b的结果是? A: [1, 2, 3, 0, 1, 2, 3] B: [1, 2, 3, 1, 2, 3, 4] C: [1, 2, 3, 1, 2, 3] D: 报错
- 设集合A ={1, 2, 3}, 下列关系R中哪些是等价关系?A、{<1, 1>, <2, 2>, <3, 3>}B、{<1, 1>, <2, 2>, <3, 3>, <3, 2>, <2, 3>}C、{<1, 1>, <2, 2>, <3, 3>, <1, 3>}D、{<1, 1>, <2, 2>, <1, 2>, <2, 1>, <1, 3>, <3, 1>, <3, 3>, <2, 3>, <3, 2>}
- 下列哪项命令的运行结果是:{1, 2}。( ) A: {1, 2, 3} | {3, 4, 5} B: {1, 2, 3} & {3, 4, 5} C: {1, 2, 3} ^ {3, 4, 5} D: {1, 2, 3} - {3, 4, 5}