下列语句执行后,s值为。
s=[1,2,3,4,5,6]
s[:1]=[]
s[:2]='a'
s[2:]='b'
s[2:3]=['x','y']
del s[:1]
s=[1,2,3,4,5,6]
s[:1]=[]
s[:2]='a'
s[2:]='b'
s[2:3]=['x','y']
del s[:1]
举一反三
- 39号元素钇的核外电子排布式是下列排布中的( ) A: 1 s 2 2 s 2 2 p 6 3 s 2 3 p 6 3 d 10 4 s 2 4 p 6 4 d 1 5 s 2 B: 1 s 2 2 s 2 2 p 6 3 s 2 3 p 6 3 d 10 4 s 2 4 p 6 5 s 2 5 p 1 C: 1 s 2 2 s 2 2 p 6 3 s 2 3 p 6 3 d 10 4 s 2 4 p 6 4 d 2 5 s 1 D: 1 s 2 2 s 2 2 p 6 3 s 2 3 p 6 3 d 10 4 s 2 4 p 6 5 s 2 5 p 1
- 有一段程序: a = Array(1, 2, 3, 4, 5, 6): s =1: For i = 5 To 1 Step -2: s = s * a(i): Next I, 执行后,s的结果是
- 试判断原子态:1s1s3S1,1s2p3P2,1s2p1D1,2s2p3P2中,下面哪组是存在的? A: 1s1s3S1,1s2p3P2; B: 1s2p3P2,1s2p1D1; C: 1s2p3P2,2s2p3P2; D: 1s1s3S1,1s2p1D1;
- 假如集合 S={ 1, 2, 3, 4 },后面 5 个命题中,哪些是正确的?ⅰ) { {2} }⊆P(S),ⅱ) { 1, 3 }⊆P(S),ⅲ) { 1, 3 }∈P(S),ⅳ) { {2, 4} }⊆P(S),ⅴ) { 4 }⊆P(S)
- 电子组态1s2p所构成的原子态为( )。 A: 1s2p1S0,1s2p1P1, 1s2p3S1 1s2p3P2,1,0 B: 1s2p1S0,1s2p1P1 C: 1s2p1S0,1s2p3S1 D: 1s2p1P1,1s2p3P2,1,0