[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fDt9F8X21BuI-grg_JYmnI-Ze4sTS8wPidPeIskRSZ74":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2024-04-01 15:25:50",136525152,[8,9,10,11],"('ab', 'cd', 'ef', 'cd', 'gh')","('ab', 'cd', 'efcdgh')","('ab', 'ef', 'gh')","error",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},26,"faa2a6b8e8abfe8d32eb1ddbad9faa26","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F3d18244cebfc0039d964dc360a8b8ac8.jpg","Python程序设计（双语）","exam_117897873","3 string","What will be the output of the following Python code? print('abcdefcdgh'.partition('cd'))",[21,32,41,50,59,68,77,86,95,98],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],136525144,[25,26,27,28],"&gt;&gt;&gt; name[-1] 'y'","&gt;&gt;&gt; name[1:-2] '. Didd'","&gt;&gt;&gt; name[::-1] 'yddiD .P'","&gt;&gt;&gt; name[::2] 'P id'","name = 'P. Diddy', which output of the following choices is NOT correct","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],136525145,[36,37,38,39],"0","1","Error","-1","What will be the output of the following Python code? &gt;&gt;&gt;example = &quot;helle&quot; &gt;&gt;&gt;example.find('e')",{"answer":42,"createTime":5,"id":43,"options":44,"question":49,"source":30,"type":31},[],136525146,[45,46,47,48],"alex-eric-rain","-alex-eric-rain","-alex-eric-rain-","alex-eric-rain-","The output of the following scripts is ls=['alex','eric','rain'] s='-'.join(ls) print(s)",{"answer":51,"createTime":5,"id":52,"options":53,"question":58,"source":30,"type":31},[],136525147,[54,55,56,57],"&quot;foo'bar&quot;","'foo'bar'","&quot;&quot;&quot;foo'bar&quot;&quot;&quot;","'foo\\'bar'","Which of the following is not a valid way to specify the string literal foo'bar in Python",{"answer":60,"createTime":5,"id":61,"options":62,"question":67,"source":30,"type":31},[],136525148,[63,64,65,66],"none of the mentioned","zxxy","xyxzxxy","xyxxyyzxxy","What will be the output of the following Python code? print('xyxxyyzxxy'.lstrip('xy'))",{"answer":69,"createTime":5,"id":70,"options":71,"question":76,"source":30,"type":31},[],136525149,[72,73,74,75],"&gt;&gt;&gt; 'Life is short, you need Python'. find('Life') 1","&gt;&gt;&gt; print('{:5.3f}'.format(math.pi)) 3.1416","&gt;&gt;&gt; print('you' in 'Life is short, you need Python.') True","&gt;&gt;&gt; seq = [1, 2, 3, 4] &gt;&gt;&gt; sep = '+' &gt;&gt;&gt; sep.join(seq) '1+2+3+4'","Which output of the following choices is correct",{"answer":78,"createTime":5,"id":79,"options":80,"question":85,"source":30,"type":31},[],136525150,[81,82,83,84],"'Alice'","'ecilA'","'ALICE'","'Alic'","s='Alice', the value of print(s[: :-1]) is",{"answer":87,"createTime":5,"id":88,"options":89,"question":94,"source":30,"type":31},[],136525151,[90,91,92,93],"scripting","'Python is a scripting language'","'Python is a high-level language'","high-level","The output of the following scripts is &gt;&gt;&gt; s='Python is a scripting language' &gt;&gt;&gt; s.replace('scripting','high-level') &gt;&gt;&gt; s",{"answer":96,"createTime":5,"id":6,"options":97,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":99,"createTime":5,"id":100,"options":101,"question":106,"source":30,"type":31},[],136525153,[102,103,104,105],"'3\\'","&quot;He said, 'Yes!'&quot;","'&quot;Once upon a time&hellip;&quot;, she said.'","&quot; 'That's okay&quot;","Which of the following results in a SyntaxError"]