[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fZEYvMpXqVInTYFGA_CxZjeuhKc5BCQKs6RB-E2-Xtes":3},{"id":4,"source":5,"question":6,"options":7,"answer":12,"related":13,"type":24,"origin":118,"createTime":59},28503378,"v1","以下程序的输出结果是:( )def fun1(a,b,*args):□□□□print(a)□□□□print(b)□□□□print(args)fun1(1,2,3,4,5,6)",[8,9,10,11],"123, 4, 5, 6","1,2,3,4,5,6","1 2 (3, 4, 5, 6)","1 2 [3, 4, 5, 6]",[],[14,27,38,49,60,71,82,86,96,107],{"id":15,"source":5,"question":16,"options":17,"answer":22,"related":23,"type":24,"origin":25,"createTime":26},28503372,"以下程序的输出结果是:( )fr = []def myf(fa):□□□□fa = ['12','23']□□□□fr = famyf(fr)print( fr)",[18,19,20,21],"12 23","'12', '23'","[]","['12', '23']",[],[],0,null,"2023-05-25T10:51:51+08:00",{"id":28,"source":5,"question":29,"options":30,"answer":35,"related":36,"type":24,"origin":25,"createTime":37},28503373,"以下程序的输出结果是:( ) s = 0 def fun(num):□□□□try:□□□□□□□□s += num□□□□□□□□return s□□□□except:□□□□□□□□return 0□□□□return 5print(fun(2))",[31,32,33,34],"UnboundLocalError","2","5","0",[],[],"2026-05-29T20:04:32+08:00",{"id":39,"source":5,"question":40,"options":41,"answer":46,"related":47,"type":24,"origin":25,"createTime":48},28503374,"关于Python的lambda表达式,以下选项中描述错误的是( )",[42,43,44,45],"lambda表达式将函数名作为表达式结果返回","f = lambda x,y:x+y 执行后,f的类型为数字类型","lambda用于定义简单的、能够在一行内表示的函数","可以使用lambda函数定义列表的排序原则",[],[],"2026-03-25T05:53:02+08:00",{"id":50,"source":5,"question":51,"options":52,"answer":57,"related":58,"type":24,"origin":25,"createTime":59},28503375,"关于下面代码的描述,错误的是( ) n=1 def func(a,b):□□□□c = a * b□□□□return cs = func(\"Hello\",2)print(c)",[53,54,55,56],"n是一个全局变量","c是一个局部变量","运行结果是出错,出错类型是NameError: name 'c' is not defined","打印输出字符串:\"HelloHello\"",[],[],"2024-06-21T14:19:50+08:00",{"id":61,"source":5,"question":62,"options":63,"answer":68,"related":69,"type":24,"origin":25,"createTime":70},28503376,"以下程序的输出结果是:( )def fun1():□□□□print(\"in fun1()\")□□□□fun2()fun1()def fun2()□□□□print(\"in fun2()\")fun1()fun2()",[64,65,66,67],"死循环","出错","in fun1()in fun2()","in fun1()",[],[],"2025-03-03T21:01:40+08:00",{"id":72,"source":5,"question":73,"options":74,"answer":79,"related":80,"type":24,"origin":25,"createTime":81},28503377,"以下代码执行的输出结果是:( )n = 2def multiply(x,y = 10):□□□□global n□□□□return x * y * ns = multiply(10,2)print(s)",[75,76,77,78],"40","1024","200","400",[],[],"2025-05-28T14:55:02+08:00",{"id":4,"source":5,"question":6,"options":83,"answer":84,"related":85,"type":24,"origin":25,"createTime":59},[8,9,10,11],[],[],{"id":87,"source":5,"question":88,"options":89,"answer":94,"related":95,"type":24,"origin":25,"createTime":59},28503379,"执行以下代码,运行错误的是:( )def fun(x,y=\"Name\",z = \"No\"): pass",[90,91,92,93],"fun(1,,3)","fun(1,2)","fun(1,2,3)","fun(1)",[],[],{"id":97,"source":5,"question":98,"options":99,"answer":104,"related":105,"type":24,"origin":25,"createTime":106},28503380,"以下关于 python 内置函数的描述,错误的是:( )",[100,101,102,103],"sorted() 对一个序列类型数据进行排序","hash() 返回一个可计算哈希的类型的数据的哈希值","type() 返回一个数据对应的类型","id() 返回一个数据的一个编号,跟其在内存中的地址无关",[],[],"2024-06-21T17:11:27+08:00",{"id":108,"source":5,"question":109,"options":110,"answer":115,"related":116,"type":24,"origin":25,"createTime":117},28503381,"Python 中,函数定义可以不包括以下:( )",[111,112,113,114],"一对圆括号","可选参数列表","函数名","关键字 def",[],[],"2025-03-03T21:01:41+08:00",{"courseName":119,"courseImg":120,"workName":121,"workId":122,"count":123,"courseId":124},"2023级—程序设计基础（Python语言）","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F2c9db1c688df1681c4114c1a96197041.png","期末复习题(单项选择题)","23ccd4c3ae064c29abb34bc65723f90c",240,"ff2f5433cf11796abb32b99f3548959f"]