[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f-i9KwQvKDGO3CSXh2TAgsftp2divGFlfAMznt1tB5I8":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":31,"type":32},[],"2025-04-27 15:01:01",184813096,[8,9,10,11],"5","9","1","error",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},77,"faa2a6b8e8abfe8d32eb1ddbad9faa26","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F3d18244cebfc0039d964dc360a8b8ac8.jpg","Python程序设计（双语）","exam_153755351","期末选择题-复习","ls=[[1,2,3],[4,5,6],[7,8,9]], the value of ls[1][1] is",[21,33,42,50,59,68,76,85,95,98],{"answer":22,"createTime":5,"id":23,"options":24,"question":30,"source":31,"type":32},[],184813088,[25,26,27,28,29],"None","False","0","0.000001","[]","Which of the following are truthy","v1",0,{"answer":34,"createTime":5,"id":35,"options":36,"question":41,"source":31,"type":32},[],184813089,[37,38,39,40],"_","foo","my_string_1","1st_string","Which of the following is an invalid variable",{"answer":43,"createTime":5,"id":44,"options":45,"question":49,"source":31,"type":32},[],184813090,[27,46,47,48],"Error","7","6","What will be the output of the following Python code? class change: def __init__(self, x, y, z): self.a = x + y + z x = change(1,2,3) y = getattr(x, 'a') setattr(x, 'a', y+1) print(x.a)",{"answer":51,"createTime":5,"id":52,"options":53,"question":58,"source":31,"type":32},[],184813091,[54,55,56,57],"[1,2,3] [1,2,3,4]","Syntax error","[1, 2, 3, 4] None","[1,2,3,4] [1,2,3,4]","What will be the output of the following Python code? a=[1,2,3] b=a.append(4) print(a) print(b)",{"answer":60,"createTime":5,"id":61,"options":62,"question":67,"source":31,"type":32},[],184813092,[63,64,65,66],"a[2]=45","print(len(a))","a.remove(5)","print(min(a))","If a={5,6,7,8}, which of the following statements is false",{"answer":69,"createTime":5,"id":70,"options":71,"question":75,"source":31,"type":32},[],184813093,[72,11,73,74],"none of the mentioned","3 1","1 3","What will be the output of the following Python code? def foo(fname, val): print(fname(val)) foo(max, [1, 2, 3]) foo(min, [1, 2, 3])",{"answer":77,"createTime":5,"id":78,"options":79,"question":84,"source":31,"type":32},[],184813094,[80,81,82,83],"print(t[3])","print(len(t))","t[3] = 45","print(max(t))","Suppose t = (1, 2, 4, 3), which of the following is incorrect",{"answer":86,"createTime":5,"id":87,"options":88,"question":94,"source":31,"type":32},[],184813095,[89,90,91,92,93],"d = {'foo': 100, 'bar': 200, 'baz': 300}","d = dict([ ('foo', 100), ('bar', 200), ('baz', 300) ])","d = {} d['foo'] = 100 d['bar'] = 200 d['baz'] = 300","d = dict(foo=100, bar=200, baz=300)","d = { ('foo', 100), ('bar', 200), ('baz', 300) }","Which of the following is not a valid way to define a dictionary in Python",{"answer":96,"createTime":5,"id":6,"options":97,"question":19,"source":31,"type":32},[],[8,9,10,11],{"answer":99,"createTime":5,"id":100,"options":101,"question":106,"source":31,"type":32},[],184813097,[102,103,104,105],"True True","True False","False True","False False","What will be the output of the following Python code snippet? &gt;&gt;&gt; bool(&quot;False&quot;) &gt;&gt;&gt; bool()"]