[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fo_JSDcDXjWmWxO3jabrvmdV8TmbA0jr7gaqjn2vqy2A":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",213114517,[8,9,10,11],"3","0","2","1",{"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语言设计与应用","import easygui easygui.textbox(msg='1',title='2',text='3',codebox=0)上述代码执行后,点击'OK',返回值是(____)",[21,32,41,49,58,65,74,83,92,101],{"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":43,"options":44,"question":48,"source":30,"type":31},[],213114510,[10,45,46,47],"4","8","6","&lrm;f1=lambda x:x*2 f2=lambda x:x**2 print(f1(f2(2)))上述代码的输出结果是____",{"answer":50,"createTime":5,"id":51,"options":52,"question":57,"source":30,"type":31},[],213114511,[53,54,55,56],"[1, 27, 3125]","[1, 27]","[1, 9]","会报错","&lrm;以下代码的输出结果是(_____).&lrm;print([i**i for i in range(5) if i%2!=0])",{"answer":59,"createTime":5,"id":60,"options":61,"question":64,"source":30,"type":31},[],213114512,[62,11,9,63],"FALSE","TRUE","&zwnj;a=[3] alist=[1,2,3,4,5] print(a in alist)上述代码的运行结果是()",{"answer":66,"createTime":5,"id":67,"options":68,"question":73,"source":30,"type":31},[],213114513,[69,70,71,72],"Python中利用class语句来定义新的类","__init__方法根据类的定义创建实例对象,第一个参数一定是self","__str__方法和__repr__方法作用完全一样,都可以用来返回一个表示对象的字符串","创建对象后使用点(.)操作符来调用对象里的方法","&zwnj;关于Python中的面向对象说法错误的是(_____)",{"answer":75,"createTime":5,"id":76,"options":77,"question":82,"source":30,"type":31},[],213114514,[78,79,80,81],"至少4个","至少1个","必须2个","最多4个","​有些语句(如if,else,while)的末尾是冒号&quot; : &quot;,这样,下面的若干行就要缩进(____)个空格",{"answer":84,"createTime":5,"id":85,"options":86,"question":91,"source":30,"type":31},[],213114515,[87,88,89,90],"b","w","r","x","&zwj;Python中以只读形式打开文件的模式是(_____)",{"answer":93,"createTime":5,"id":94,"options":95,"question":100,"source":30,"type":31},[],213114516,[96,97,98,99],"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":102,"createTime":5,"id":6,"options":103,"question":19,"source":30,"type":31},[],[8,9,10,11]]