5-1,对于下列代码,输入是1 3 5 7 9,那么 a 的值是什么?a = input().split()
A: 1
B: 1 3 5 7 9
C: [1, 3, 5, 7, 9]
D: ['1', '3', '5', '7', '9']
A: 1
B: 1 3 5 7 9
C: [1, 3, 5, 7, 9]
D: ['1', '3', '5', '7', '9']
举一反三
- 以下程序的执行结果是。 L = [1, 3, 5, 7, 9] print(L.pop(-3), end = ) print(L.remove(L[0]), end = ) print(L) A: 5 1 [3, 7, 9] B: 5 1 [1, 3, 7, 9] C: 5 None [3, 7, 9] D: 5 None [1, 3, 7, 9]
- 10-9.假定对元素序列(7, 3, 5, 9, 1, 12)进行堆排序,并且采用小根堆,则由初始数据构成的初始堆为()。 A: 1, 3, 5, 7, 9, 12 B: 1, 3, 5, 9, 7, 12 C: 1, 5, 3, 7, 9, 12 D: 1, 5, 3, 9, 12, 7
- A=[1 2 3 4 5 6 7 8 9]A(5)=[]A=1 4 7 5 8 3 6 9
- 【单选题】请用地点定桩法在4分钟内记忆数字。 4 0 1 3 6 3 5 1 9 8 8 9 7 2 9 3 0 9 5 3 1 7 7 5 2 3 3 0 5 0 1 4 1 3 8 3 5 7 9 7 (5.0分) A. 已背 B. 未背
- 【单选题】Which of the following matrices does not have the same determinant of matrix B: [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -1, 0, -9,-5] A. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 0; -1, 0, -9, -5] B. [1, 3, 0, 2; -2, -5, 7, 4; 1, 0, 9, 5; -1, 0, -9, -5] C. [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -3, -5, -2, -1] D. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 1; -1, 0, -9, -5]