[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fJnFHgo8XU8EPmpl5cakzRYL4_fM8qgtovYtfToxn-QA":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",136525145,[8,9,10,11],"0","1","Error","-1",{"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? &gt;&gt;&gt;example = &quot;helle&quot; &gt;&gt;&gt;example.find('e')",[21,32,35,44,53,62,71,80,89,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":6,"options":34,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":36,"createTime":5,"id":37,"options":38,"question":43,"source":30,"type":31},[],136525146,[39,40,41,42],"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":45,"createTime":5,"id":46,"options":47,"question":52,"source":30,"type":31},[],136525147,[48,49,50,51],"&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":54,"createTime":5,"id":55,"options":56,"question":61,"source":30,"type":31},[],136525148,[57,58,59,60],"none of the mentioned","zxxy","xyxzxxy","xyxxyyzxxy","What will be the output of the following Python code? print('xyxxyyzxxy'.lstrip('xy'))",{"answer":63,"createTime":5,"id":64,"options":65,"question":70,"source":30,"type":31},[],136525149,[66,67,68,69],"&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":72,"createTime":5,"id":73,"options":74,"question":79,"source":30,"type":31},[],136525150,[75,76,77,78],"'Alice'","'ecilA'","'ALICE'","'Alic'","s='Alice', the value of print(s[: :-1]) is",{"answer":81,"createTime":5,"id":82,"options":83,"question":88,"source":30,"type":31},[],136525151,[84,85,86,87],"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":90,"createTime":5,"id":91,"options":92,"question":97,"source":30,"type":31},[],136525152,[93,94,95,96],"('ab', 'cd', 'ef', 'cd', 'gh')","('ab', 'cd', 'efcdgh')","('ab', 'ef', 'gh')","error","What will be the output of the following Python code? print('abcdefcdgh'.partition('cd'))",{"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"]