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