网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
print(list(zip([1,2],[3,4])))输出结果为:()
A

[1,2,3,4]

B

[(1,2),(3,4)]

C

[(1,3),(2,4)]

D

报错


参考答案

参考解析
解析: 暂无解析
更多 “单选题print(list(zip([1,2],[3,4])))输出结果为:()A [1,2,3,4]B [(1,2),(3,4)]C [(1,3),(2,4)]D 报错” 相关考题
考题 执行下面代码,结果为():name_list=[]ifname_listandname_list[100]=='张三':print('OK') A.程序报错B.OKC.NULLD.无输出

考题 表达式dict(zip([1,2],[3,4]))的值为_________________________________。

考题 表达式list(zip([1,2],[3,4]))的值为________________________。

考题 窗体上有一个按钮和一个列表框,执行下列程序后的输出结果为【 】。Private Sub Command1_Click()List1.Addltem"China"List1.Addltem"USA"List1.Addltem"Japan",1Print List1.List(2)End Sub

考题 执行以下语句后,输出的结果是 s$=“ABCDEFGHI” Print Mid$(s$,3,4) Print Len(s$)A.ABCD 11B.CDEF 11C.EFGH 11D.HIJK 11

考题 下述程序的输出结果是( )。A)2,2B)1,1C)3,4D)1,2

考题 有以下程序:i程序运行后的输出结果是( )。。,A.3,4B.4,1C.2,3D.1,2

考题 下列程序的运行结果为includevoid print(double a){ cout 下列程序的运行结果为 #include<iostream.h> void print(double a) { cout<<++a; } void print(int a,int b) { cout<<b<<a; } void main( ) { print(1.2); tout<<""; print(3,4); }A.1.2 34B.2.2 34C.1.2 43D.2.2 43

考题 以下程序的输出结果是()。include Void main(){int a[3][3]= { { 1,2 }, { 3,4 }, { 以下程序的输出结果是( )。#include <iostream.h>Void main(){ int a[3][3]= { { 1,2 }, { 3,4 }, { 5,6 } }, i, j, s=0; for(i=1;i<3;i++) for(j=0;j<i; j++) s+=a[i][j]; cout<<s<<end1;}A.14B.19C.20D.21

考题 窗体上有一个按钮和一个列表框,执行下列程序后,输出的结果为 Private Sub Command1_Click() List1.AddItem "Visual" List1.AddItem "Basic" List1.AddItem "Programming", 1 Print list1.List(2) End SubA.VisualB.BasicC.ProgrammingD.2

考题 在WP中执行LIST命令,要想在屏幕和打印机上同时输出,应使用命令( )。A.LIST 0N PRINTB.LIST TO PRINTC.PRINT LISTD.LIST PRINT

考题 下面程序的运行结果为( )。def swap(list): temp=list[0] list[0]=list[1] list[1]=templist=[1,2]swap(list)print(list) A.[1,2]B.[2,1]C.[2,2]D.[1,1]

考题 已知x=list(range(20)),那么语句print(x[100:200])的输出结果为()。

考题 print(list(enumerate([1,2])))输出结果为:()A、[[0,1],[1,2]]B、[(0,1),(1,2)]C、[1,2]D、[0,1,1,2]

考题 print({1,2,3}-{3,4,6})输出结果为:()A、{-2,-2,-3}B、{2,2,3}C、{1,2}D、报错

考题 [x1+x2forx1,x2inzip([1,2],[3,4])] 输出结果为:()A、[4,6]B、[3,7]C、[1,2,3,4]D、报错

考题 dict(zip((1,2),(3,4)))的返回值是()。A、字符串B、元组C、列表D、字典

考题 print(list(zip([1,2],[3,4])))输出结果为:()A、[1,2,3,4]B、[(1,2),(3,4)]C、[(1,3),(2,4)]D、报错

考题 代码print(3,4)是Python2.x的输出格式。

考题 填空题已知x=list(range(20)),那么语句print(x[100:200])的输出结果为()。

考题 单选题有以下程序: #includex));  printf(%d,++(p-y)); } 程序运行后的输出结果是(  )。A 1,2B 4,1C 3,4D 2,3

考题 单选题print({1,2,3}-{3,4,6})输出结果为:()A {-2,-2,-3}B {2,2,3}C {1,2}D 报错

考题 单选题[x1+x2forx1,x2inzip([1,2],[3,4])] 输出结果为:()A [4,6]B [3,7]C [1,2,3,4]D 报错

考题 填空题表达式list(zip([1,2],[3,4]))的值为()。

考题 单选题print(list(enumerate([1,2])))输出结果为:()A [[0,1],[1,2]]B [(0,1),(1,2)]C [1,2]D [0,1,1,2]

考题 单选题dict(zip((1,2),(3,4)))的返回值是()。A 字符串B 元组C 列表D 字典

考题 填空题表达式dict(zip([1,2],[3,4]))的值为()。