[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$ftTzga8DvR_i5ZWEUklFhMmijCnUHkIxp8nFepvImVBg":3},{"id":4,"source":5,"question":6,"options":7,"answer":12,"related":13,"type":24,"origin":108,"createTime":26},61356789,"v1","Python程序源文件的扩展名是( )",[8,9,10,11],"pp","py","pyc","Python",[],[14,27,37,47,57,67,77,85,94,104],{"id":15,"source":5,"question":16,"options":17,"answer":22,"related":23,"type":24,"origin":25,"createTime":26},61356780,"假设文件不存在,如果使用open方法打开文件会报错,那么该文件的打开方式是下列哪种模式?( )",[18,19,20,21],"'r'","'a'","'w+'","'w'",[],[],0,null,"2023-06-13T00:14:05+08:00",{"id":28,"source":5,"question":29,"options":30,"answer":35,"related":36,"type":24,"origin":25,"createTime":26},61356781,"下列创建元组的方法,哪一种是错误的?( )",[31,32,33,34],"(5)","('Alice', 'Mike', 'Tony')","tuple1 = (1, 2, 3, 4)","'good'",[],[],{"id":38,"source":5,"question":39,"options":40,"answer":45,"related":46,"type":24,"origin":25,"createTime":26},61356782,"\u003Cimg src=\"https:\u002F\u002Fp.ananas.chaoxing.com\u002Fstar3\u002Forigin\u002F3590945cde78edd6cb1b576ffc1e61aa.png\">上述代码的输出结果为",[41,42,43,44],"函数内访问变量motto: I love python 变量motto: I hate python 变量motto: I love python","函数内访问变量motto: I hate python 变量motto: I hate python 变量motto: I love python","函数内访问变量motto: I hate python 变量motto: I hate python 变量motto: I hate python","函数内访问变量motto: I love python 变量motto: I love python 变量motto: I love python",[],[],{"id":48,"source":5,"question":49,"options":50,"answer":55,"related":56,"type":24,"origin":25,"createTime":26},61356783,"假设file是文本文件对象,下列选项中,哪个用于读取一行内容?( )",[51,52,53,54],"file.read()","file.read(200)","file.readline()","file.readlines(200)",[],[],{"id":58,"source":5,"question":59,"options":60,"answer":65,"related":66,"type":24,"origin":25,"createTime":26},61356784,"在UTF-8编码中一个汉字需要占用( )个字节",[61,62,63,64],"1","4","3","2",[],[],{"id":68,"source":5,"question":69,"options":70,"answer":75,"related":76,"type":24,"origin":25,"createTime":26},61356785,"使用 try...except...finally捕获异常时,finally什么时候执行( )",[71,72,73,74],"try没发生异常时","都不是","try发生异常时","无论是否发生异常",[],[],{"id":78,"source":5,"question":79,"options":80,"answer":83,"related":84,"type":24,"origin":25,"createTime":26},61356786,"表达式 'abcabcabc'.rindex('abc') 的值为( )",[62,81,82,63],"5","6",[],[],{"id":86,"source":5,"question":87,"options":88,"answer":92,"related":93,"type":24,"origin":25,"createTime":26},61356787,"导入sys模块的argv,winver成员,使用以下哪个( )",[72,89,90,91],"from sys include argv","from sys.argv,sys.winver","from sys import argv, winver",[],[],{"id":95,"source":5,"question":96,"options":97,"answer":102,"related":103,"type":24,"origin":25,"createTime":26},61356788,"下述代码的运行结果为( ) \u003Cimg src=\"https:\u002F\u002Fp.ananas.chaoxing.com\u002Fstar3\u002Forigin\u002Fc1314be10a9a0848694fcb9413e070e1.png\">",[98,99,100,101],"19","21","30","10",[],[],{"id":4,"source":5,"question":6,"options":105,"answer":106,"related":107,"type":24,"origin":25,"createTime":26},[8,9,10,11],[],[],{"courseName":109,"courseImg":110,"workName":111,"workId":112,"count":113,"courseId":114},"Python语言基础","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F9c1e48361b00f3ee2086f4e259ed792b.jpg","2023年春季《Python语言基础》考前训练","exam_96557888",327,"8f14e84dc402afed0c39539c110576f0"]