[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f1lgnkXduVbjhsDGnA32E_wD__Egt5NzNtLbusrb4IFE":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2025-04-27 14:56:35",184812811,[8,9,10,11],"foo","_","my_string_1","1st_string",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},79,"faa2a6b8e8abfe8d32eb1ddbad9faa26","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F3d18244cebfc0039d964dc360a8b8ac8.jpg","Python程序设计（双语）","exam_153755736","期末选择题-复习","Which of the following is an invalid variable",[21,26,35,44,53,62,71,80,89,98],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":5,"id":28,"options":29,"question":34,"source":24,"type":25},[],184812812,[30,31,32,33],"True","10","False","20","f1=lambda x, y:(x&gt;y)*x+(x&lt;y)*y,the value of f1(10,20) is",{"answer":36,"createTime":5,"id":37,"options":38,"question":43,"source":24,"type":25},[],184812813,[39,40,41,42],"'D:\\\\Python\\\\a.txt'","'D:\u002FPython\u002Fa.txt'","'D:\\Python\\a.txt'","r'D:\\Python\\a.txt'","Which of the following choices is not a valid file path",{"answer":45,"createTime":5,"id":46,"options":47,"question":52,"source":24,"type":25},[],184812814,[48,49,50,51],"Error","[1, 0, 2, 'hello', '', []]","[1, 2, 'hello']","[1, 0, 2, 0, 'hello', '', []]","What will be the output of the following Python code? l=[1, 0, 2, 0, 'hello', '', []] list(filter(bool, l))",{"answer":54,"createTime":5,"id":55,"options":56,"question":61,"source":24,"type":25},[],184812815,[57,58,59,60],"s={4, 'abc', (1,2)}","s={abs}","s={san}","s={2, 2.2, 3, 'xyz'}","Which of the following lines of code will result in an error",{"answer":63,"createTime":5,"id":64,"options":65,"question":70,"source":24,"type":25},[],184812816,[66,67,68,69],"error","0 1 2","0 1 2 3 0","0 1 2 0","What will be the output of the following Python code? i = 0 while i &lt; 3: print(i) i += 1 else: print(0)",{"answer":72,"createTime":5,"id":73,"options":74,"question":79,"source":24,"type":25},[],184812817,[75,76,77,78],"8","7","4","Error, invalid syntax for formation of set","What will be the output of the following Python code? nums = set([1,1,2,3,3,3,4,4]) print(len(nums))",{"answer":81,"createTime":5,"id":82,"options":83,"question":88,"source":24,"type":25},[],184812818,[84,85,86,87],"1 2 3 4 &hellip;","1","1 3 5 7 &hellip;","nothing was printed","What will be the output of the following Python code? i = 1 while False: if i%2 == 0: break print(i) i += 2",{"answer":90,"createTime":5,"id":91,"options":92,"question":97,"source":24,"type":25},[],184812819,[93,94,95,96],"1 2","1 2 3 4 5","None","1 2 4 5","The output of the following code is __. for i in range(1,6): if i\u002F3==0: break else: print(i, end=' ')",{"answer":99,"createTime":5,"id":100,"options":101,"question":106,"source":24,"type":25},[],184812820,[102,103,104,105],"if x &lt; y: print('foo'); print('bar'); print('baz')","if x &lt; y: print('foo') else: print('bar')","if x &lt; y and x &gt; 10: print('foo')","if x &lt; y: print('foo') elif y &lt; x: print('bar') else: print('baz')","Which of the following are NOT valid if\u002Felse statements in Python, assuming x and y are defined appropriately"]