[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f0GJXYsC1xkPui1rTDrHqOjmLZpufgCuDT7fi7mfvarU":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2025-03-24 15:12:49",180133754,[8,9,10,11],"Error","25","[25, 14, 222, 33, 2]","[2, 33, 222, 14]",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},22,"faa2a6b8e8abfe8d32eb1ddbad9faa26","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F3d18244cebfc0039d964dc360a8b8ac8.jpg","Python程序设计（双语）","exam_150180247","5 list","Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]",[21,32,40,48,57,66,75,84,93,102],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],180133737,[25,26,27,28],"ls.pop(1)","del ls[0]","ls = ls[1:]","ls.remove(1)","ls=[1,2,3,4,5],which of the following choices could NOT remove the first element from the list","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":39,"source":30,"type":31},[],180133738,[36,37,38,8],"No output","t","f","What will be the output of the following Python code? ['f', 't'][bool('spam')]",{"answer":41,"createTime":5,"id":42,"options":43,"question":47,"source":30,"type":31},[],180133739,[44,8,45,46],"[('PUNE', 4), ('MUMBAI', 6), ('DELHI', 5)]","[PUNE, 4, MUMBAI, 6, DELHI, 5]","['PUNE', 4, 'MUMBAI', 6,'DELHI', 5]","What will be the output of the following Python code? &gt;&gt;&gt; s=[&quot;pune&quot;, &quot;mumbai&quot;, &quot;delhi&quot;] &gt;&gt;&gt; [(w.upper(), len(w)) for w in s]",{"answer":49,"createTime":5,"id":50,"options":51,"question":56,"source":30,"type":31},[],180133740,[52,53,54,55],"4","10","[1,3,6,10]","[1,3,5,7]","What will be the output of the following Python code? a=[1,2,3,4] b=[sum(a[0:x+1]) for x in range(0,len(a))] print(b)",{"answer":58,"createTime":5,"id":59,"options":60,"question":65,"source":30,"type":31},[],180133741,[61,62,63,64],"[1, 3, 2, 3, 2, 1]","[2, 6, 4]","[1, 3, 2, 1, 3]","[1, 3, 2, 1, 3, 2]","Suppose list1 is [1, 3, 2], What is list1 * 2",{"answer":67,"createTime":5,"id":68,"options":69,"question":74,"source":30,"type":31},[],180133742,[70,71,72,73],"&gt;&gt;&gt; numbers[0::3] [1, 3, 5, 7, 9]","&gt;&gt;&gt; numbers[: -1] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]","&gt;&gt;&gt; numbers[0: 2] [1, 2, 3]","&gt;&gt;&gt; numbers[-2:] [9, 10]","numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], which output of the following choices is correct",{"answer":76,"createTime":5,"id":77,"options":78,"question":83,"source":30,"type":31},[],180133743,[79,80,81,82],"no output","morning","error","hello","What will be the output of the following Python code snippet? ['hello', 'morning'][bool('')]",{"answer":85,"createTime":5,"id":86,"options":87,"question":92,"source":30,"type":31},[],180133745,[88,89,90,91],"[13, 56, 17, 87,[ 45, 67]]","[13, 56, 17, 87, 45, 67]","[13, 56, 17, [87], [45, 67]]","[13, 56, 17, [87], 45, 67]","What will be the output of the following Python code? a=[13,56,17] a.append([87]) a.extend([45,67]) print(a)",{"answer":94,"createTime":5,"id":95,"options":96,"question":101,"source":30,"type":31},[],180133747,[97,98,99,100],"['good']","['good', '#450']","['oh!', 'excellent!', '#450']","['good', 'oh', 'excellent', '450' ]","What will be the output of the following Python code? &gt;&gt;&gt; l=[&quot;good&quot;, &quot;oh!&quot;, &quot;excellent!&quot;, &quot;#450&quot;] &gt;&gt;&gt; [n for n in l if n.isalpha() or n.isdigit()]",{"answer":103,"createTime":5,"id":104,"options":105,"question":110,"source":30,"type":31},[],180133748,[106,107,108,109],"[3, 7, 8, 6, 1, 2] [3, 7, 8, [9, 10], 1, 2]","Syntax error","[3,[7,8],6,1,2] [3, 7, 8, 9, 10, 1, 2]","[3,4,6,7,8] [9,10,4,6,7,8]","What will be the output of the following Python code? lst=[3,4,6,1,2] lst[1:2]=[7,8] print(lst) lst[3]=[9,10] print(lst)"]