[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fWsqv-IUN0GzEgRCefaxYb74kcku2e47NzLfGwF4JZdE":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":13,"question":20,"related":21,"source":25,"type":26},[],"2025-04-27 15:01:01",184813088,[8,9,10,11,12],"None","False","0","0.000001","[]",{"count":14,"courseId":15,"courseImg":16,"courseName":17,"workId":18,"workName":19},77,"faa2a6b8e8abfe8d32eb1ddbad9faa26","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F3d18244cebfc0039d964dc360a8b8ac8.jpg","Python程序设计（双语）","exam_153755351","期末选择题-复习","Which of the following are truthy",[22,27,36,44,53,62,71,80,90,98],{"answer":23,"createTime":5,"id":6,"options":24,"question":20,"source":25,"type":26},[],[8,9,10,11,12],"v1",0,{"answer":28,"createTime":5,"id":29,"options":30,"question":35,"source":25,"type":26},[],184813089,[31,32,33,34],"_","foo","my_string_1","1st_string","Which of the following is an invalid variable",{"answer":37,"createTime":5,"id":38,"options":39,"question":43,"source":25,"type":26},[],184813090,[10,40,41,42],"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":45,"createTime":5,"id":46,"options":47,"question":52,"source":25,"type":26},[],184813091,[48,49,50,51],"[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":54,"createTime":5,"id":55,"options":56,"question":61,"source":25,"type":26},[],184813092,[57,58,59,60],"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":63,"createTime":5,"id":64,"options":65,"question":70,"source":25,"type":26},[],184813093,[66,67,68,69],"none of the mentioned","error","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":72,"createTime":5,"id":73,"options":74,"question":79,"source":25,"type":26},[],184813094,[75,76,77,78],"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":81,"createTime":5,"id":82,"options":83,"question":89,"source":25,"type":26},[],184813095,[84,85,86,87,88],"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":91,"createTime":5,"id":92,"options":93,"question":97,"source":25,"type":26},[],184813096,[94,95,96,67],"5","9","1","ls=[[1,2,3],[4,5,6],[7,8,9]], the value of ls[1][1] is",{"answer":99,"createTime":5,"id":100,"options":101,"question":106,"source":25,"type":26},[],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()"]