如下程序的运行结果是_________ lst=[1,2,3] print(lst[::-1])A.[3,2,1]B.[1,2,3]C.[1]D.[3]
如下程序的运行结果是_________ lst=[1,2,3] print(lst[::-1])
A.[3,2,1]
B.[1,2,3]
C.[1]
D.[3]
参考答案和解析
B
相关考题:
The relation between the two paragraphs is that in the 2nd paragraph the author[A] challenges the viewpoint in the lst paragraph.[B] modifies his view expressed in the lst paragraph.[C] provides the reason for the argument in the lst paragraph.[D] further analyzes the issue discussed in the lst paragraph.
有如下程序: include using namespace std; class TestClass { private: int x,y; pu 有如下程序: #include<iostream> using namespace std; class TestClass { private: int x,y; public: TestClass (int i,int j) { x=i; y=j; } void print() { cout<<"print1"<<end1; } void print()const { cout<<"print2"<<end1; } }; int main() { const TestClass a(1,2); a.print(); return 0; } 该程序运行后的输出结果是( )。A.print1B.print2C.print1 print2D.程序编译时出错
执行以下两条语句后,lst的结果是1. lst = [3, 2, 1]2. lst.append(lst)() A.[3, 2, 1, [3, 2, 1]]B.[3, 2, 1, […]],其中“…”表示无穷递归C.抛出异常D.[3, 2, 1, lst]
下面命令PONNBI CTIN在FX-GpoN里的命令,哪个是查询OLT指定板卡,请选择正确的命令()A、LST-BOARD::OLTID=135.251.197.24B、LST-BOARD::OLTID=135.251.197.24,BOARDID=1-1-2:CTAG::;C、LST-BOARD::OLTID=135.251.197.24,PONID=1-1-2-2,ONUIDTYPE=ONU_NUMBER,ONUID=2:CTAG::;D、LST-BOARD::OLTID=135.251.197.24,PONID=1-1-2-2,ONUIDTYPE=MAC,ONUID=ALCLF8A37F26:CTAG::;
查询载频信道信息指令()。A、SET GTRXDEVB、SET GTRXCHANC、LST GTRXCHAND、LST GTRXDEV