[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fHXXZDh8hrVfRVDYqZJdoWr-_uwN5kaixwmOK8n-KjS8":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2025-07-14 09:16:08",213114510,[8,9,10,11],"2","4","8","6",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},85,"3a664c620bde1852e8f92f596505b9b3","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002Fad033d6f000c9b1c83bb061d83df64cf.png","Python语言基础与应用","exam_165912039","Python语言设计与应用","&lrm;f1=lambda x:x*2 f2=lambda x:x**2 print(f1(f2(2)))上述代码的输出结果是____",[21,32,41,44,53,62,71,80,89,98],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],213114508,[25,26,27,28],"print(odj.v1==odj.v2)会报错","print(odj.v1)值为100","print(odj.v1)值为0","print(odj.v1==odj.v2)结果为False","&lrm;阅读以下代码,四个选项中说法正确的是(____).&lrm;class parent: def __init__(self,param): self.v1=param class child(parent): def __init__(self,param): parent.__init__(self,param) self.v2=paramodj=child(100)","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],213114509,[36,37,38,39],"[1, 2, 5]","[1, 2, 3]","[1, 0, 2]","[0, 2, 3]","&zwnj;list(map(lambda x:len(x),['a','12','ab123']))上述代码的输出结果是____",{"answer":42,"createTime":5,"id":6,"options":43,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":45,"createTime":5,"id":46,"options":47,"question":52,"source":30,"type":31},[],213114511,[48,49,50,51],"[1, 27, 3125]","[1, 27]","[1, 9]","会报错","&lrm;以下代码的输出结果是(_____).&lrm;print([i**i for i in range(5) if i%2!=0])",{"answer":54,"createTime":5,"id":55,"options":56,"question":61,"source":30,"type":31},[],213114512,[57,58,59,60],"FALSE","1","0","TRUE","&zwnj;a=[3] alist=[1,2,3,4,5] print(a in alist)上述代码的运行结果是()",{"answer":63,"createTime":5,"id":64,"options":65,"question":70,"source":30,"type":31},[],213114513,[66,67,68,69],"Python中利用class语句来定义新的类","__init__方法根据类的定义创建实例对象,第一个参数一定是self","__str__方法和__repr__方法作用完全一样,都可以用来返回一个表示对象的字符串","创建对象后使用点(.)操作符来调用对象里的方法","&zwnj;关于Python中的面向对象说法错误的是(_____)",{"answer":72,"createTime":5,"id":73,"options":74,"question":79,"source":30,"type":31},[],213114514,[75,76,77,78],"至少4个","至少1个","必须2个","最多4个","​有些语句(如if,else,while)的末尾是冒号&quot; : &quot;,这样,下面的若干行就要缩进(____)个空格",{"answer":81,"createTime":5,"id":82,"options":83,"question":88,"source":30,"type":31},[],213114515,[84,85,86,87],"b","w","r","x","&zwj;Python中以只读形式打开文件的模式是(_____)",{"answer":90,"createTime":5,"id":91,"options":92,"question":97,"source":30,"type":31},[],213114516,[93,94,95,96],"Flask是Python web开发框架的一种","Pillow是对图像进行操作和处理的一个模块,可以实现缩略图、图像模糊等功能","from PIL import Image,ImageFilter im=Image.open('test.jpg') im.filter(ImageFilter.BLUR) 运行上述代码后再利用照片浏览器打开test.jpg时已经实现了模糊效果","运行下述代码后,访问https:\u002F\u002F127.0.0.1:5000\u002F可以看到返回一行文本:Python is the best language in the world! from flask import Flask app=Flask(__name__) @app.route(&quot;\u002F&quot;) def fun(): return &quot;Python is the best language in the world!&quot; if __name__==&quot;__main__&quot;: app.run()","下面关于Python的高级扩展模块说法错误的是(_____)",{"answer":99,"createTime":5,"id":100,"options":101,"question":103,"source":30,"type":31},[],213114517,[102,59,8,58],"3","import easygui easygui.textbox(msg='1',title='2',text='3',codebox=0)上述代码执行后,点击'OK',返回值是(____)"]