{"id":1702,"date":"2022-01-04T10:15:56","date_gmt":"2022-01-04T04:45:56","guid":{"rendered":"https:\/\/cbsepython.in\/?p=1702"},"modified":"2024-03-15T19:22:01","modified_gmt":"2024-03-15T13:52:01","slug":"list-manipulation-in-python-mcq","status":"publish","type":"post","link":"https:\/\/cbsepython.in\/list-manipulation-in-python-mcq\/","title":{"rendered":"70+ Important List Manipulation in Python MCQ Class 11"},"content":{"rendered":"<h2>70+ List Manipulation in Python MCQ<\/h2>\n<p><span style=\"color: #000000;\">In this section you will practice List in Python MCQ for your board exam preparation. These MCQs are designed for objective as well as subjective type questions. These\u00a0 List in Python MCQ will also help in Output based List in Python questions. It covers all possible List Manipulation in Python.\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>1. <\/strong><strong>What will be the output :<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">nameList = [&#8216;Harsh&#8217;, &#8216;Pratik&#8217;, &#8216;Bob&#8217;, &#8216;Dhruv&#8217;]\u00a0\u00a0\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">print nameList[1][-1]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">a) Pratik<\/span><\/p>\n<p><span style=\"color: #000000;\">b) Bob<\/span><\/p>\n<p><span style=\"color: #000000;\">c) D<\/span><\/p>\n<p><span style=\"color: #000000;\">d) k<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c355185075056960' value='69d8f23c355185075056960'><input type='hidden' id='bg-show-more-text-69d8f23c355185075056960' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c355185075056960' value='Hide Answer'><button id='bg-showmore-action-69d8f23c355185075056960' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c355185075056960' ><\/span><\/p>\n<p><span style=\"color: #000000\">d) k<\/span><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>2. Find the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">Code = [1, 2, 3, 4]<\/span><\/p>\n<p><span style=\"color: #000000;\">Code.append([5,6,7,8])\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">print(Code)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [1,2,3,4,5,6,7,8]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [1,2,3,4]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [1,2,3,4,[5,6,7,8]]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [1,2,3,4][5,6,7,8]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c357254014907522' value='69d8f23c357254014907522'><input type='hidden' id='bg-show-more-text-69d8f23c357254014907522' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c357254014907522' value='Hide Answer'><button id='bg-showmore-action-69d8f23c357254014907522' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c357254014907522' ><\/span><\/p>\n<p><span style=\"color: #000000\">c) [1,2,3,4,[5,6,7,8]]<\/span><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>3. Find the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">list1 = [1, 2, 3, 4, 5]<\/span><\/p>\n<p><span style=\"color: #000000;\">list2 = list1\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">list2[0] = 0;\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">print( list1)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [1, 2, 3, 4, 5, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [0,1, 2, 3, 4, 5]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [0, 2, 3, 4, 5]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [1, 2, 3, 4, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c358946073545831' value='69d8f23c358946073545831'><input type='hidden' id='bg-show-more-text-69d8f23c358946073545831' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c358946073545831' value='Hide Answer'><button id='bg-showmore-action-69d8f23c358946073545831' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c358946073545831' ><\/span><\/p>\n<p><span style=\"color: #000000\">c) [0, 2, 3, 4, 5]<\/span><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>4. Find the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">list1 = [1998, 2002]<\/span><\/p>\n<p><span style=\"color: #000000;\">list2 = [2014, 2016]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">print ((list1 + list2)*2)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">a) [1998, 2002, 2014, 2016, 1998, 2002, 2014, 2016]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [1998, 2002, 2014, 2016]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [1998, 2002, 1998, 2002]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [2014, 2016, 2014, 2016]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3599d9088512154' value='69d8f23c3599d9088512154'><input type='hidden' id='bg-show-more-text-69d8f23c3599d9088512154' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3599d9088512154' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3599d9088512154' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3599d9088512154' ><\/span><\/p>\n<p><span style=\"color: #000000\">a) [1998, 2002, 2014, 2016, 1998, 2002, 2014, 2016]<\/span><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>5. Find the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">list = [1, 2, 3, None, (1, 2, 3, 4, 5), [&#8216;Hi&#8217;, &#8216;Hello&#8217;, &#8216;Bye&#8217;]]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(len(list))<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 12<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 11<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 22<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 6<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c35a941094432442' value='69d8f23c35a941094432442'><input type='hidden' id='bg-show-more-text-69d8f23c35a941094432442' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c35a941094432442' value='Hide Answer'><button id='bg-showmore-action-69d8f23c35a941094432442' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c35a941094432442' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) 6<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>6. Find the output :<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">list = [&#8216;python&#8217;, &#8216;learning&#8217;, &#8216;@&#8217;, &#8216;cbse&#8217;, &#8216;python&#8217;, &#8216;.in&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(list[0:6:2])<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">a) [&#8216;python&#8217;, &#8216;@&#8217;, &#8216;python&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [&#8216;python&#8217;, &#8216;learning&#8217;, &#8216;@&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [&#8216;python&#8217;, &#8216;learning&#8217;, &#8216;@&#8217;, &#8216;python&#8217;, &#8216;in&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [&#8216;python&#8217;, &#8216;in&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c35bd27056658402' value='69d8f23c35bd27056658402'><input type='hidden' id='bg-show-more-text-69d8f23c35bd27056658402' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c35bd27056658402' value='Hide Answer'><button id='bg-showmore-action-69d8f23c35bd27056658402' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c35bd27056658402' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) [&#8216;python&#8217;, &#8216;@&#8217;, &#8216;python&#8217;]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>7. Find the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">d1 = [10, 20, 30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">d2 = [1, 2, 3, 4, 5]<\/span><\/p>\n<p><span style=\"color: #000000;\">print( d1 &#8211; d1 )<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [10, 20, 30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [1, 2, 3, 4, 5]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [10, 20, 30, 40, 50,-1, -2, -3, -4, -5]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) No Output<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c35ce08027219458' value='69d8f23c35ce08027219458'><input type='hidden' id='bg-show-more-text-69d8f23c35ce08027219458' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c35ce08027219458' value='Hide Answer'><button id='bg-showmore-action-69d8f23c35ce08027219458' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c35ce08027219458' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) No Output<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>8. Find the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">list = [&#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;, &#8216;d&#8217;, &#8216;e&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(list[10:] )<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">a) [&#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;, &#8216;d&#8217;, &#8216;e&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [ &#8216;c&#8217;, &#8216;d&#8217;, &#8216;e&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [ ]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [&#8216;a&#8217;, &#8216;b&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c35e010004386837' value='69d8f23c35e010004386837'><input type='hidden' id='bg-show-more-text-69d8f23c35e010004386837' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c35e010004386837' value='Hide Answer'><button id='bg-showmore-action-69d8f23c35e010004386837' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c35e010004386837' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) [ ]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>9. Find the output :<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">L1 = [1, 2, 3, 4]<\/span><\/p>\n<p><span style=\"color: #000000;\">L2 = L1<\/span><\/p>\n<p><span style=\"color: #000000;\">L3 = L1.copy()<\/span><\/p>\n<p><span style=\"color: #000000;\">L4 = L1<\/span><\/p>\n<p><span style=\"color: #000000;\">L1[0] = [5]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(L1, L2, L3, L4)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 2, 3, 4] [5, 2, 3, 4] [1, 2, 3, 4] [1, 2, 3, 4]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [[5], 2, 3, 4] [[5], 2, 3, 4] [[5], 2, 3, 4] [1, 2, 3, 4]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [5, 2, 3, 4] [5, 2, 3, 4] [5, 2, 3, 4] [1, 2, 3, 4]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [[5], 2, 3, 4] [[5], 2, 3, 4] [1, 2, 3, 4] [[5], 2, 3, 4]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c35f180061576569' value='69d8f23c35f180061576569'><input type='hidden' id='bg-show-more-text-69d8f23c35f180061576569' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c35f180061576569' value='Hide Answer'><button id='bg-showmore-action-69d8f23c35f180061576569' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c35f180061576569' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) [[5], 2, 3, 4] [[5], 2, 3, 4] [1, 2, 3, 4] [[5], 2, 3, 4]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>10. Find the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">L = [1, 3, 5, 7, 9]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(L.pop(-3), end = &#8216; &#8216;)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 5<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 9<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 7<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 3<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c360150009375032' value='69d8f23c360150009375032'><input type='hidden' id='bg-show-more-text-69d8f23c360150009375032' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c360150009375032' value='Hide Answer'><button id='bg-showmore-action-69d8f23c360150009375032' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c360150009375032' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) 5<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>11. What is the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">myList = [&#8220;PYthon&#8221;, [4, 8, 12, 16]]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(myList[0][1])\u00a0\u00a0\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">print(myList[1][3])<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">a) P 8<\/span><br \/>\n<span style=\"color: #000000;\">Y 16<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">b) P<\/span><br \/>\n<span style=\"color: #000000;\">12<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">\u00a0c) Y<\/span><br \/>\n<span style=\"color: #000000;\">16<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">d) Python<\/span><br \/>\n<span style=\"color: #000000;\">8<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c361008041560159' value='69d8f23c361008041560159'><input type='hidden' id='bg-show-more-text-69d8f23c361008041560159' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c361008041560159' value='Hide Answer'><button id='bg-showmore-action-69d8f23c361008041560159' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c361008041560159' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) P<\/span><\/strong><br \/>\n<strong><span style=\"color: #000000\">12<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>12. What is the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">myList\u00a0= [1, 2, 3, 4, 5, 6, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">pow2 =\u00a0 [2 * x for x in myList]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(pow2)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [1, 2, 3, 4, 5, 6, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [2, 4, 6, 8, 10, 12, 14]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [2, 4, 6, 8, 10, 12]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [1, 2, 3, 4, 5, 6, ]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3622c6024601124' value='69d8f23c3622c6024601124'><input type='hidden' id='bg-show-more-text-69d8f23c3622c6024601124' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3622c6024601124' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3622c6024601124' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3622c6024601124' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [2, 4, 6, 8, 10, 12, 14]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>13. What is the output :<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">myList= [4, 8, 12, 16]<\/span><\/p>\n<p><span style=\"color: #000000;\">myList[1:4] = [20, 24, 28]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(myList)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [4, 20, 24, 28, 8, 12, 16]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [4, 20, 24, 28]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [20,24,28]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [4, 8, 12, 16, 20, 24, 28]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3633e0077843924' value='69d8f23c3633e0077843924'><input type='hidden' id='bg-show-more-text-69d8f23c3633e0077843924' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3633e0077843924' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3633e0077843924' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3633e0077843924' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [4, 20, 24, 28]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>14. What is the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">myList= [5, 10, 15, 25]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(myList[::-2])<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5,10]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [25,10]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [15,5]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [15,10,5]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c363f21015061683' value='69d8f23c363f21015061683'><input type='hidden' id='bg-show-more-text-69d8f23c363f21015061683' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c363f21015061683' value='Hide Answer'><button id='bg-showmore-action-69d8f23c363f21015061683' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c363f21015061683' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [25,10]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>15. What is the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">myList= [10, 20, 30, 40, 50, 60, 70, 80]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(myList[2:5])<\/span><\/p>\n<p><span style=\"color: #000000;\">print(myList[:4])<\/span><\/p>\n<p><span style=\"color: #000000;\">print(myList[3:])<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">a) [20, 30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">[10, 20, 30, 40]<\/span><\/p>\n<p><span style=\"color: #000000;\">[30, 40, 50, 60, 70, 80]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">b) [30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">[10, 20, 30, 40]<\/span><\/p>\n<p><span style=\"color: #000000;\">[40, 50, 60, 70, 80]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">c) [20, 30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">[10, 20, 30, 40]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">d) [10, 20, 30, 40]<\/span><\/p>\n<p><span style=\"color: #000000;\">[40, 50, 60, 70, 80]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c364902026806451' value='69d8f23c364902026806451'><input type='hidden' id='bg-show-more-text-69d8f23c364902026806451' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c364902026806451' value='Hide Answer'><button id='bg-showmore-action-69d8f23c364902026806451' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c364902026806451' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [30, 40, 50]<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000\">[10, 20, 30, 40]<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000\">[40, 50, 60, 70, 80]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>16. What is the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">sampleList = [10, 20, 30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">sampleList.append(60)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(sampleList)<\/span><\/p>\n<p><span style=\"color: #000000;\">sampleList.append(60)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(sampleList)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">a) [10, 20, 30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [10, 20, 30, 40, 50,60,60]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [10, 20, 30, 40, 50,60]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [10, 20, 30, 40, 60]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c365749076817308' value='69d8f23c365749076817308'><input type='hidden' id='bg-show-more-text-69d8f23c365749076817308' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c365749076817308' value='Hide Answer'><button id='bg-showmore-action-69d8f23c365749076817308' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c365749076817308' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [10, 20, 30, 40, 50,60,60]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>17. What is the output:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">sampleList = [10, 20, 30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">sampleList.pop()<\/span><\/p>\n<p><span style=\"color: #000000;\">print(sampleList)<\/span><\/p>\n<p><span style=\"color: #000000;\">sampleList.pop(2)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(sampleList)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">a) [10, 20, 30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">[10, 20, 30, 40]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">b) [20, 30, 40, 50]<\/span><\/p>\n<p><span style=\"color: #000000;\">[10, 20, 40]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">c) [10, 20, 30, 40]<\/span><\/p>\n<p><span style=\"color: #000000;\">[10, 20, 30, 50]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">d) [10, 20, 30, 40]<\/span><\/p>\n<p><span style=\"color: #000000;\">[10, 20, 40]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c366137009151162' value='69d8f23c366137009151162'><input type='hidden' id='bg-show-more-text-69d8f23c366137009151162' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c366137009151162' value='Hide Answer'><button id='bg-showmore-action-69d8f23c366137009151162' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c366137009151162' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) [10, 20, 30, 40]<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000\">[10, 20, 40]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>18. What is the printed?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">grades=[ ]<\/span><\/p>\n<p><span style=\"color: #000000;\">grades.append(45)<\/span><\/p>\n<p><span style=\"color: #000000;\">grades.append(35)<\/span><\/p>\n<p><span style=\"color: #000000;\">grades.append(21)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(grades)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">a) [45,35,21]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [21]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [45,35]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [ ]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c366d44049653215' value='69d8f23c366d44049653215'><input type='hidden' id='bg-show-more-text-69d8f23c366d44049653215' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c366d44049653215' value='Hide Answer'><button id='bg-showmore-action-69d8f23c366d44049653215' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c366d44049653215' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) [45,35,21]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>19. What is the output :<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">val=[1,2,3,4,3,5,6,7,7,8]<\/span><\/p>\n<p><span style=\"color: #000000;\">x=7<\/span><\/p>\n<p><span style=\"color: #000000;\">print val.count(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 2<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 3<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 4<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 5<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3676f5048702770' value='69d8f23c3676f5048702770'><input type='hidden' id='bg-show-more-text-69d8f23c3676f5048702770' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3676f5048702770' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3676f5048702770' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3676f5048702770' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) 2<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #000000;\">20.\u00a0Statement 1: append (): Appends a single element passed as an argument at the end of the list.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000;\">Statement 2: extend() Appends each element of\u00a0the list passed as argument at the end of the given\u00a0list<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #000000;\">Which statement is correct?<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">a) Statement 1<\/span><\/p>\n<p><span style=\"color: #000000;\">b) Statement 2<\/span><\/p>\n<p><span style=\"color: #000000;\">c) Both Statement 1 and 2 are correct<\/span><\/p>\n<p><span style=\"color: #000000;\">d) Both Statement 1 and 2 are incorrect.<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c368011078974740' value='69d8f23c368011078974740'><input type='hidden' id='bg-show-more-text-69d8f23c368011078974740' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c368011078974740' value='Hide Answer'><button id='bg-showmore-action-69d8f23c368011078974740' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c368011078974740' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) Both Statement 1 and 2 are correct<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: center;\"><span style=\"color: #000000;\">70+ List in Python MCQ Class 11-12<\/span><\/h2>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>21. What will be the output of the following code segment?\u00a0<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">list1 =[&#8216;Red&#8217;, &#8216;Green&#8217;, &#8216;Blue&#8217;, &#8216;Cyan&#8217;, &#8216;Magenta&#8217;,<\/span><\/p>\n<p><span style=\"color: #000000;\">&#8216;Yellow&#8217;, &#8216;Black&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(list1[-4:0:-1])<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [&#8216;Cyan&#8217;, &#8216;Blue&#8217;, &#8216;Green&#8217;, &#8216;Red&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) []<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [&#8216;Cyan&#8217;, &#8216;Blue&#8217;, &#8216;Green&#8217;]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [&#8216;Cyan&#8217;, &#8216;Magenta&#8217;, &#8216;Yellow&#8217;, &#8216;Black&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c368935057195728' value='69d8f23c368935057195728'><input type='hidden' id='bg-show-more-text-69d8f23c368935057195728' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c368935057195728' value='Hide Answer'><button id='bg-showmore-action-69d8f23c368935057195728' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c368935057195728' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) [&#8216;Cyan&#8217;, &#8216;Blue&#8217;, &#8216;Green&#8217;]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>22. Which of the following is a mutable sequence data type?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">a) string<\/span><\/p>\n<p><span style=\"color: #000000;\">b) list<\/span><\/p>\n<p><span style=\"color: #000000;\">c) tuple<\/span><\/p>\n<p><span style=\"color: #000000;\">d) All of the mentioned<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c369333074591668' value='69d8f23c369333074591668'><input type='hidden' id='bg-show-more-text-69d8f23c369333074591668' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c369333074591668' value='Hide Answer'><button id='bg-showmore-action-69d8f23c369333074591668' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c369333074591668' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) list<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>23. Which of the following is not an immutable data type:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">a) string<\/span><\/p>\n<p><span style=\"color: #000000;\">b) complex<\/span><\/p>\n<p><span style=\"color: #000000;\">c) list<\/span><\/p>\n<p><span style=\"color: #000000;\">d) tuple<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c369c66070439769' value='69d8f23c369c66070439769'><input type='hidden' id='bg-show-more-text-69d8f23c369c66070439769' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c369c66070439769' value='Hide Answer'><button id='bg-showmore-action-69d8f23c369c66070439769' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c369c66070439769' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) list<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>24. Which statement does not show any error after execution? Given L=[1,2,3,4] (U)<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">a) print(L+L)\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">b) print(L*L)<\/span><\/p>\n<p><span style=\"color: #000000;\">c) print(L-L)<\/span><\/p>\n<p><span style=\"color: #000000;\">d) All of the mentioned<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c36a7e4011581038' value='69d8f23c36a7e4011581038'><input type='hidden' id='bg-show-more-text-69d8f23c36a7e4011581038' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c36a7e4011581038' value='Hide Answer'><button id='bg-showmore-action-69d8f23c36a7e4011581038' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c36a7e4011581038' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) print(L+L)\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>25. Which of the following command(s) will create a list?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">a) list1 = list()<\/span><\/p>\n<p><span style=\"color: #000000;\">b) list1 = []<\/span><\/p>\n<p><span style=\"color: #000000;\">c) list1 = list([1, 2, 3])<\/span><\/p>\n<p><span style=\"color: #000000;\">d) all of these<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c36b130001660896' value='69d8f23c36b130001660896'><input type='hidden' id='bg-show-more-text-69d8f23c36b130001660896' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c36b130001660896' value='Hide Answer'><button id='bg-showmore-action-69d8f23c36b130001660896' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c36b130001660896' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) all of these<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>26. Which command can we use to insert 5 to the third position in list1?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">a) list1.insert(3, 5)<\/span><\/p>\n<p><span style=\"color: #000000;\">b) list1.insert(2, 5)\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) list1.add(3, 5)<\/span><\/p>\n<p><span style=\"color: #000000;\">d) list1.append(3, 5)<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c36ba21018577170' value='69d8f23c36ba21018577170'><input type='hidden' id='bg-show-more-text-69d8f23c36ba21018577170' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c36ba21018577170' value='Hide Answer'><button id='bg-showmore-action-69d8f23c36ba21018577170' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c36ba21018577170' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) list1.insert(2, 5)\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>27. Which of the following commands will sort list1 in descending order?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">a) list1.sort(reverse=0)<\/span><\/p>\n<p><span style=\"color: #000000;\">b) list1.sort()<\/span><\/p>\n<p><span style=\"color: #000000;\">c) list1.sort(reverse=\u2018True\u2019)<\/span><\/p>\n<p><span style=\"color: #000000;\">d) list1.sort(reverse=1)\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c36c304080937569' value='69d8f23c36c304080937569'><input type='hidden' id='bg-show-more-text-69d8f23c36c304080937569' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c36c304080937569' value='Hide Answer'><button id='bg-showmore-action-69d8f23c36c304080937569' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c36c304080937569' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) list1.sort(reverse=1)\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>28. Which command we use cane use To remove string \u201chello\u201d from list1, Given, list1=[\u201chello\u201d]<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">a) list1.remove(\u201chello\u201d)<\/span><\/p>\n<p><span style=\"color: #000000;\">b) list1.pop(list1.index(&#8216;hello&#8217;))<\/span><\/p>\n<p><span style=\"color: #000000;\">c) both a &amp; b<\/span><\/p>\n<p><span style=\"color: #000000;\">d) none of these<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c36cc49048964300' value='69d8f23c36cc49048964300'><input type='hidden' id='bg-show-more-text-69d8f23c36cc49048964300' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c36cc49048964300' value='Hide Answer'><button id='bg-showmore-action-69d8f23c36cc49048964300' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c36cc49048964300' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) both a &amp; b<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>29. What will be the output of the following code segment?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">list1 = [10,20,30,10,40,10]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(list1.remove(10))<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 10<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [20,30,40]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) None<\/span><\/p>\n<p><span style=\"color: #000000;\">d) []<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c36dc04081475143' value='69d8f23c36dc04081475143'><input type='hidden' id='bg-show-more-text-69d8f23c36dc04081475143' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c36dc04081475143' value='Hide Answer'><button id='bg-showmore-action-69d8f23c36dc04081475143' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c36dc04081475143' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) None<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>30. What will be the output of the following code segment?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">L=&#8217;good&#8217;<\/span><\/p>\n<p><span style=\"color: #000000;\">L=[1,2,3]<\/span><\/p>\n<p><span style=\"color: #000000;\">n=2<\/span><\/p>\n<p><span style=\"color: #000000;\">print(L*n)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">a) goodgood<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [1, 2, 3, 1, 2, 3]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) error<\/span><\/p>\n<p><span style=\"color: #000000;\">d) none<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c36eab1054225486' value='69d8f23c36eab1054225486'><input type='hidden' id='bg-show-more-text-69d8f23c36eab1054225486' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c36eab1054225486' value='Hide Answer'><button id='bg-showmore-action-69d8f23c36eab1054225486' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c36eab1054225486' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [1, 2, 3, 1, 2, 3]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>31. What will be the output of the following code segment?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">l=[&#8216;A&#8217;,&#8217;a&#8217;,&#8217;Aa&#8217;,&#8217;aA&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(max(l))<\/span><\/p>\n<p><span style=\"color: #000000;\">a) &#8216;aA&#8217;<\/span><\/p>\n<p><span style=\"color: #000000;\">b) &#8216;A&#8217;,<\/span><\/p>\n<p><span style=\"color: #000000;\">c) &#8216;a&#8217;<\/span><\/p>\n<p><span style=\"color: #000000;\">d) &#8216;Aa&#8217;<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c36fa61010037596' value='69d8f23c36fa61010037596'><input type='hidden' id='bg-show-more-text-69d8f23c36fa61010037596' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c36fa61010037596' value='Hide Answer'><button id='bg-showmore-action-69d8f23c36fa61010037596' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c36fa61010037596' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) &#8216;aA&#8217;<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>32. pop() returns the element whose index is passed as argument to this function and also\u00a0 removes it from the list. If no argument is given,\u00a0then it returns and removes the _____element of\u00a0the list. Fill in the Blank Space.<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">a) None<\/span><\/p>\n<p><span style=\"color: #000000;\">b) first<\/span><\/p>\n<p><span style=\"color: #000000;\">c) last<\/span><\/p>\n<p><span style=\"color: #000000;\">d) all<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c370cf9008705915' value='69d8f23c370cf9008705915'><input type='hidden' id='bg-show-more-text-69d8f23c370cf9008705915' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c370cf9008705915' value='Hide Answer'><button id='bg-showmore-action-69d8f23c370cf9008705915' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c370cf9008705915' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) last<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>33. What will be the output of the following code segment?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">l=list(range(100,20,-20))<\/span><\/p>\n<p><span style=\"color: #000000;\">print(l)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [100 80 60 40]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [100, 80, 60, 40]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [100,20,-20]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) error<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c372062086197638' value='69d8f23c372062086197638'><input type='hidden' id='bg-show-more-text-69d8f23c372062086197638' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c372062086197638' value='Hide Answer'><button id='bg-showmore-action-69d8f23c372062086197638' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c372062086197638' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [100, 80, 60, 40]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>34. What will be the output of the following code segment?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">myList = [1,2,3,4,5,6,7,8,9,10]<\/span><\/p>\n<p><span style=\"color: #000000;\">newList=[]<\/span><\/p>\n<p><span style=\"color: #000000;\">for i in range(0,len(myList)):<\/span><\/p>\n<p><span style=\"color: #000000;\">if i%2 == 0:<\/span><\/p>\n<p><span style=\"color: #000000;\">newList.append(myList[i])<\/span><\/p>\n<p><span style=\"color: #000000;\">print(newList)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [1,3,5,7,9]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [1,3,5,7]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) []<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [1,2,3,4,5,6,7,8,9,10]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3735e4069285662' value='69d8f23c3735e4069285662'><input type='hidden' id='bg-show-more-text-69d8f23c3735e4069285662' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3735e4069285662' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3735e4069285662' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3735e4069285662' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) [1,3,5,7,9]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>35. Given list1 = [34,66,12,89,28,99]<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">Statement 1: list1.reverse()<\/span><\/p>\n<p><span style=\"color: #000000;\">Statement 2: list1[::-1]<\/span><\/p>\n<p><span style=\"color: #000000;\">Which statement modifies the contents of original list1.<\/span><\/p>\n<p><span style=\"color: #000000;\">a) Statement 1<\/span><\/p>\n<p><span style=\"color: #000000;\">b) Statement 2<\/span><\/p>\n<p><span style=\"color: #000000;\">c) Both Statement 1 and 2.<\/span><\/p>\n<p><span style=\"color: #000000;\">d) none of the mentioned<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3749f4008646787' value='69d8f23c3749f4008646787'><input type='hidden' id='bg-show-more-text-69d8f23c3749f4008646787' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3749f4008646787' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3749f4008646787' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3749f4008646787' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) Statement 1<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>36. Given a string: s=&#8221;String&#8221;. Which statement converts string \u2018s\u2019 into List \u2018L\u2019.<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">a) L=s<\/span><\/p>\n<p><span style=\"color: #000000;\">b) L=list(s)\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) L=s[::]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) all of the mentioned<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c375757082881202' value='69d8f23c375757082881202'><input type='hidden' id='bg-show-more-text-69d8f23c375757082881202' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c375757082881202' value='Hide Answer'><button id='bg-showmore-action-69d8f23c375757082881202' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c375757082881202' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) L=list(s)\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>37. What will be the output of the following code segment?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">list1 = [10,20,30,10,40,10]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(list1.index(10))<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [0]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [0,3,5]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 0<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 1 3 5<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3767b2043141223' value='69d8f23c3767b2043141223'><input type='hidden' id='bg-show-more-text-69d8f23c3767b2043141223' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3767b2043141223' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3767b2043141223' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3767b2043141223' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) 0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>38. The record of a student (Name, Roll No, Marks in five subjects and percentage of marks) is\u00a0stored in the following list:<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">stRecord = [&#8216;Raman&#8217;,&#8217;A-36&#8242;,[56,98,99,72,69], 78.8]<\/span><\/p>\n<p><span style=\"color: #000000;\">Write Python statements to retrieve the following information from the list stRecord.<\/span><\/p>\n<p><span style=\"color: #000000;\">a) print(stRecord [2][4])<\/span><\/p>\n<p><span style=\"color: #000000;\">b) print(stRecord [2][-1])<\/span><\/p>\n<p><span style=\"color: #000000;\">c) print(stRecord [-2][-1])<\/span><\/p>\n<p><span style=\"color: #000000;\">d) all of the mentioned<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c377704063483455' value='69d8f23c377704063483455'><input type='hidden' id='bg-show-more-text-69d8f23c377704063483455' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c377704063483455' value='Hide Answer'><button id='bg-showmore-action-69d8f23c377704063483455' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c377704063483455' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) all of the mentioned<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>39. S1: Operator + concatenates one list to the end of another list.<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>S2: Operator * is to multiply the elements inside the list.<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">Which option is correct?<\/span><\/p>\n<p><span style=\"color: #000000;\">a) S1 is correct, S2 is incorrect<\/span><\/p>\n<p><span style=\"color: #000000;\">b) S1 is incorrect, S2 is incorrect<\/span><\/p>\n<p><span style=\"color: #000000;\">c) S1 is incorrect, S2 is incorrect<\/span><\/p>\n<p><span style=\"color: #000000;\">d) S1 is incorrect, S2 is correct<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3785a6002041725' value='69d8f23c3785a6002041725'><input type='hidden' id='bg-show-more-text-69d8f23c3785a6002041725' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3785a6002041725' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3785a6002041725' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3785a6002041725' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) S1 is correct, S2 is incorrect<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>40. Which type of copy is shown in the following python code?\u00a0<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">1s1=[[10, 20], [30, 40], [50, 60]]<\/span><\/p>\n<p><span style=\"color: #000000;\">1s2=list(1s1)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) Shallow copy<\/span><\/p>\n<p><span style=\"color: #000000;\">b) Deep copy<\/span><\/p>\n<p><span style=\"color: #000000;\">c) memberwise<\/span><\/p>\n<p><span style=\"color: #000000;\">d) All of the mentioned<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c379498062090519' value='69d8f23c379498062090519'><input type='hidden' id='bg-show-more-text-69d8f23c379498062090519' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c379498062090519' value='Hide Answer'><button id='bg-showmore-action-69d8f23c379498062090519' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c379498062090519' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) Shallow copy<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: center;\"><span style=\"color: #000000;\">70+ List in Python MCQ Class 11-12<\/span><\/h2>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>41. What is the data type of x after the following statement?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [7, 8, 9, 10]<\/span><\/p>\n<p><span style=\"color: #000000;\">a) List<\/span><\/p>\n<p><span style=\"color: #000000;\">b) Dictionary<\/span><\/p>\n<p><span style=\"color: #000000;\">c) Tuple<\/span><\/p>\n<p><span style=\"color: #000000;\">d) String<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c37aaf8093383719' value='69d8f23c37aaf8093383719'><input type='hidden' id='bg-show-more-text-69d8f23c37aaf8093383719' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c37aaf8093383719' value='Hide Answer'><button id='bg-showmore-action-69d8f23c37aaf8093383719' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c37aaf8093383719' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) List<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>42. What is the data type of x after the following statement?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [&#8216;Today&#8217;, &#8216;Tomorrow&#8217;, &#8216;Yesterday&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">a) List<\/span><\/p>\n<p><span style=\"color: #000000;\">b) Dictionary<\/span><\/p>\n<p><span style=\"color: #000000;\">c) Tuple<\/span><\/p>\n<p><span style=\"color: #000000;\">d) String<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c37bae8085973635' value='69d8f23c37bae8085973635'><input type='hidden' id='bg-show-more-text-69d8f23c37bae8085973635' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c37bae8085973635' value='Hide Answer'><button id='bg-showmore-action-69d8f23c37bae8085973635' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c37bae8085973635' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) List<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>43. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [&#8216;Today&#8217;, &#8216;Tomorrow&#8217;, &#8216;Yesterday&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = x[1]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) x1<\/span><\/p>\n<p><span style=\"color: #000000;\">b) Today<\/span><\/p>\n<p><span style=\"color: #000000;\">c) Tomorrow<\/span><\/p>\n<p><span style=\"color: #000000;\">d) Yesterday<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c37ca26038883863' value='69d8f23c37ca26038883863'><input type='hidden' id='bg-show-more-text-69d8f23c37ca26038883863' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c37ca26038883863' value='Hide Answer'><button id='bg-showmore-action-69d8f23c37ca26038883863' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c37ca26038883863' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) Tomorrow<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>44. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [25, 35, 45]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = x[0]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) x0<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 25<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 35<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 45<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c37db68099425102' value='69d8f23c37db68099425102'><input type='hidden' id='bg-show-more-text-69d8f23c37db68099425102' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c37db68099425102' value='Hide Answer'><button id='bg-showmore-action-69d8f23c37db68099425102' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c37db68099425102' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) 25<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>45. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [10, 20, 30]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = x[1] + x[2]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 20<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 30<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 40<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 50<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c37ec16066098430' value='69d8f23c37ec16066098430'><input type='hidden' id='bg-show-more-text-69d8f23c37ec16066098430' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c37ec16066098430' value='Hide Answer'><button id='bg-showmore-action-69d8f23c37ec16066098430' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c37ec16066098430' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) 50<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>46. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [&#8216;Sunday&#8217;, &#8216;Monday&#8217;, &#8216;Tuesday&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = x[1] + x[2]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) MondayTuesday<\/span><\/p>\n<p><span style=\"color: #000000;\">b) SundayMonday<\/span><\/p>\n<p><span style=\"color: #000000;\">c) SunMonday<\/span><\/p>\n<p><span style=\"color: #000000;\">d) Monday Tuesday<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c37fbc3009269474' value='69d8f23c37fbc3009269474'><input type='hidden' id='bg-show-more-text-69d8f23c37fbc3009269474' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c37fbc3009269474' value='Hide Answer'><button id='bg-showmore-action-69d8f23c37fbc3009269474' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c37fbc3009269474' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) MondayTuesday<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>47. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [[0.0, 1.0, 2.0],[4.0, 5.0, 6.0]]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = x[1][2]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 0.0<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 1.0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 5.0<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 6.0<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c380a42065952046' value='69d8f23c380a42065952046'><input type='hidden' id='bg-show-more-text-69d8f23c380a42065952046' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c380a42065952046' value='Hide Answer'><button id='bg-showmore-action-69d8f23c380a42065952046' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c380a42065952046' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) 6.0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>48. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [[0.0, 1.0, 2.0],[4.0, 5.0, 6.0]]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = x[0][1] + x[1][0]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 1.0<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 4.0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 5.0<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 6.0<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3818a3070518585' value='69d8f23c3818a3070518585'><input type='hidden' id='bg-show-more-text-69d8f23c3818a3070518585' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3818a3070518585' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3818a3070518585' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3818a3070518585' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) 5.0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>49. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = 3<\/span><\/p>\n<p><span style=\"color: #000000;\">y = 4<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x*y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 3<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 4<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 3 4<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 12<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c382859090767664' value='69d8f23c382859090767664'><input type='hidden' id='bg-show-more-text-69d8f23c382859090767664' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c382859090767664' value='Hide Answer'><button id='bg-showmore-action-69d8f23c382859090767664' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c382859090767664' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) 12<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>50. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [15, 45, 85, 95]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x[3]-x[1])<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 30<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 40<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 50<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 10<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3838e1049371390' value='69d8f23c3838e1049371390'><input type='hidden' id='bg-show-more-text-69d8f23c3838e1049371390' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3838e1049371390' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3838e1049371390' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3838e1049371390' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) 50<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>51. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 4, 3, 2]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 5, 4, 3, 2<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 5432<\/span><\/p>\n<p><span style=\"color: #000000;\">d) (5, 4, 3, 2)<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c384859064039206' value='69d8f23c384859064039206'><input type='hidden' id='bg-show-more-text-69d8f23c384859064039206' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c384859064039206' value='Hide Answer'><button id='bg-showmore-action-69d8f23c384859064039206' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c384859064039206' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) [5, 4, 3, 2]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>52. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.append(1)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 4, 3, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 5, 4, 3, 2, 1<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 5432<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [5, 4, 3, 2, 1]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c385804062432485' value='69d8f23c385804062432485'><input type='hidden' id='bg-show-more-text-69d8f23c385804062432485' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c385804062432485' value='Hide Answer'><button id='bg-showmore-action-69d8f23c385804062432485' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c385804062432485' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) [5, 4, 3, 2, 1]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>53. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.insert(1, 0)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 1, 3, 2, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [5, 0, 4, 3, 2]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [0, 5, 4, 3, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [1, 5, 4, 3, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c386763060597235' value='69d8f23c386763060597235'><input type='hidden' id='bg-show-more-text-69d8f23c386763060597235' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c386763060597235' value='Hide Answer'><button id='bg-showmore-action-69d8f23c386763060597235' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c386763060597235' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [5, 0, 4, 3, 2]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>54. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.remove(2)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 3, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [5, 4, 3]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [5, 4, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [3, 2]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c387691032398795' value='69d8f23c387691032398795'><input type='hidden' id='bg-show-more-text-69d8f23c387691032398795' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c387691032398795' value='Hide Answer'><button id='bg-showmore-action-69d8f23c387691032398795' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c387691032398795' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [5, 4, 3]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>55. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x.pop(3))<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 4<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 3<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 2<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 1<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c388542029217158' value='69d8f23c388542029217158'><input type='hidden' id='bg-show-more-text-69d8f23c388542029217158' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c388542029217158' value='Hide Answer'><button id='bg-showmore-action-69d8f23c388542029217158' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c388542029217158' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) 2<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>56. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x.index(1))<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 4<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 3<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 2<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 1<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3897d5038450638' value='69d8f23c3897d5038450638'><input type='hidden' id='bg-show-more-text-69d8f23c3897d5038450638' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3897d5038450638' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3897d5038450638' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3897d5038450638' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) 4<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>57. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.extend(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) []<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [1, 2, 3, 4, 5]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [5, 4, 3, 2, 1, 5, 4, 3, 2, 1]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c38ad21013217907' value='69d8f23c38ad21013217907'><input type='hidden' id='bg-show-more-text-69d8f23c38ad21013217907' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c38ad21013217907' value='Hide Answer'><button id='bg-showmore-action-69d8f23c38ad21013217907' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c38ad21013217907' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) [5, 4, 3, 2, 1, 5, 4, 3, 2, 1]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>58. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = [0, 5, 10]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.extend(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 4, 3, 2, 1, 0, 5, 10]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">b) []<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [0, 5, 10, 5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c38c195096201287' value='69d8f23c38c195096201287'><input type='hidden' id='bg-show-more-text-69d8f23c38c195096201287' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c38c195096201287' value='Hide Answer'><button id='bg-showmore-action-69d8f23c38c195096201287' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c38c195096201287' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) [5, 4, 3, 2, 1, 0, 5, 10]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>59. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = [10, 5, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.extend(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 4, 3, 2, 1, 10, 5, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) []<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [10, 5, 0, 5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [10, 5, 0]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c38d466087618841' value='69d8f23c38d466087618841'><input type='hidden' id='bg-show-more-text-69d8f23c38d466087618841' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c38d466087618841' value='Hide Answer'><button id='bg-showmore-action-69d8f23c38d466087618841' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c38d466087618841' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) [10, 5, 0]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>60. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = [10, 5, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">y.extend(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 4, 3, 2, 1, 10, 5, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [10, 5, 0, 5, 4, 3, 2, 1]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [10, 5, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c38e419088444347' value='69d8f23c38e419088444347'><input type='hidden' id='bg-show-more-text-69d8f23c38e419088444347' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c38e419088444347' value='Hide Answer'><button id='bg-showmore-action-69d8f23c38e419088444347' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c38e419088444347' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [10, 5, 0, 5, 4, 3, 2, 1]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: center;\"><span style=\"color: #000000;\">70+ List in Python MCQ Class 11-12<\/span><\/h2>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>61. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.reverse()<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [0, 1, 2, 3, 4, 5]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [0, 5, 4, 3, 2, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [5, 4, 3, 2, 1, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [1, 2, 3, 4, 5]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c38f379048972330' value='69d8f23c38f379048972330'><input type='hidden' id='bg-show-more-text-69d8f23c38f379048972330' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c38f379048972330' value='Hide Answer'><button id='bg-showmore-action-69d8f23c38f379048972330' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c38f379048972330' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) [1, 2, 3, 4, 5]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>62. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [25, 14, 53, 62, 11]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.sort()<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [11, 14, 25, 53, 62]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [25, 14, 53, 62, 11]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [62, 53, 25, 14, 11]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [25, 53, 62, 14, 11]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3902b5021741578' value='69d8f23c3902b5021741578'><input type='hidden' id='bg-show-more-text-69d8f23c3902b5021741578' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3902b5021741578' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3902b5021741578' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3902b5021741578' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) [11, 14, 25, 53, 62]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>63. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [&#8217;25&#8217;, &#8216;Today&#8217;, &#8217;53&#8217;, &#8216;Sunday&#8217;, &#8217;15&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.sort()<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [&#8216;Today&#8217;, &#8216;Sunday&#8217;, &#8217;15&#8217;, &#8217;25&#8217;, &#8217;53&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [&#8216;Sunday&#8217;, &#8216;Today&#8217;, &#8217;15&#8217;, &#8217;25&#8217;, &#8217;53&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [&#8217;15&#8217;, &#8217;25&#8217;, &#8217;53&#8217;, &#8216;Sunday&#8217;, &#8216;Today&#8217;]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [&#8217;15&#8217;, &#8217;25&#8217;, &#8217;53&#8217;, &#8216;Today&#8217;, &#8216;Sunday&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3911d4077818150' value='69d8f23c3911d4077818150'><input type='hidden' id='bg-show-more-text-69d8f23c3911d4077818150' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3911d4077818150' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3911d4077818150' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3911d4077818150' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) [&#8217;15&#8217;, &#8217;25&#8217;, &#8217;53&#8217;, &#8216;Sunday&#8217;, &#8216;Today&#8217;]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>64. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [25, &#8216;Today&#8217;, 53, &#8216;Sunday&#8217;, 15]<\/span><\/p>\n<p><span style=\"color: #000000;\">x.reverse()<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [&#8216;Today&#8217;, &#8216;Sunday&#8217;, 15, 25, 53]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [15, &#8216;Sunday&#8217;, 53, &#8216;Today&#8217;, 25]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [15, 25, 53, &#8216;Sunday&#8217;, &#8216;Today&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [15, 25, 53, &#8216;Today&#8217;, &#8216;Sunday&#8217;]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c392532054739493' value='69d8f23c392532054739493'><input type='hidden' id='bg-show-more-text-69d8f23c392532054739493' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c392532054739493' value='Hide Answer'><button id='bg-showmore-action-69d8f23c392532054739493' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c392532054739493' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [15, &#8216;Sunday&#8217;, 53, &#8216;Today&#8217;, 25]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>65. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [25, 35, 53, 25, 52, 35, 25]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x.count(25))<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 25<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 3<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 53<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 35<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3936d6058291137' value='69d8f23c3936d6058291137'><input type='hidden' id='bg-show-more-text-69d8f23c3936d6058291137' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3936d6058291137' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3936d6058291137' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3936d6058291137' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) 3<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>66. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [25, 35, 53, 25, 52, 35, 25]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(len(x))<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 25<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 5<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 7<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 35<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c394707016629517' value='69d8f23c394707016629517'><input type='hidden' id='bg-show-more-text-69d8f23c394707016629517' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c394707016629517' value='Hide Answer'><button id='bg-showmore-action-69d8f23c394707016629517' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c394707016629517' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">c) 7<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>67. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [25, 35, 53, 25, 52, 35, 25]<\/span><\/p>\n<p><span style=\"color: #000000;\">len(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 25<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 5<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 7<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [25, 35, 53, 25, 52, 35, 25]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c3955e0009922563' value='69d8f23c3955e0009922563'><input type='hidden' id='bg-show-more-text-69d8f23c3955e0009922563' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c3955e0009922563' value='Hide Answer'><button id='bg-showmore-action-69d8f23c3955e0009922563' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c3955e0009922563' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) [25, 35, 53, 25, 52, 35, 25]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>68. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [25, 35, 53, 25, 52, 35, 25]<\/span><\/p>\n<p><span style=\"color: #000000;\">del x[3]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [25, 35, 53, 52, 35, 25]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [25, 5, 5, 25, 52, 5, 25]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [35, 53, 52, 35]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [25, 35, 53, 25, 52, 35, 25]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c396570051769810' value='69d8f23c396570051769810'><input type='hidden' id='bg-show-more-text-69d8f23c396570051769810' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c396570051769810' value='Hide Answer'><button id='bg-showmore-action-69d8f23c396570051769810' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c396570051769810' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) [25, 35, 53, 52, 35, 25]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>69. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 3, 6, 2, 4, 0, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">del x[2:3]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [5, 3, 6, 4, 0, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [5, 3, 2, 4, 0, 1]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [5, 6, 2, 4, 0, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [5, 4, 0, 1]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c397537001045195' value='69d8f23c397537001045195'><input type='hidden' id='bg-show-more-text-69d8f23c397537001045195' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c397537001045195' value='Hide Answer'><button id='bg-showmore-action-69d8f23c397537001045195' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c397537001045195' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) [5, 3, 2, 4, 0, 1]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>70. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 3, 6, 2, 4, 0, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">del x[0:7]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [ ]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [5, 3, 6, 2, 4, 0, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [5, 3, 6, 2, 4, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [3, 6, 2, 4, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c398634013283588' value='69d8f23c398634013283588'><input type='hidden' id='bg-show-more-text-69d8f23c398634013283588' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c398634013283588' value='Hide Answer'><button id='bg-showmore-action-69d8f23c398634013283588' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c398634013283588' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">a) [ ]<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>71. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 3, 6, 2, 4, 0, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">del x[0:4]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) []<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [5, 3, 6, 2, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [5, 3, 6, 2, 4, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [4, 0, 7]\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c399d34047094248' value='69d8f23c399d34047094248'><input type='hidden' id='bg-show-more-text-69d8f23c399d34047094248' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c399d34047094248' value='Hide Answer'><button id='bg-showmore-action-69d8f23c399d34047094248' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c399d34047094248' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">d) [4, 0, 7]\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>72. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [5, 3, 6, 2, 4, 0, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">del x[:]<\/span><\/p>\n<p><span style=\"color: #000000;\">print(x)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) [ ]<\/span><\/p>\n<p><span style=\"color: #000000;\">b) [5, 3, 6, 2, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">c) [5, 3, 6, 2, 4, 0]<\/span><\/p>\n<p><span style=\"color: #000000;\">d) [4, 0, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c39a9b9096640889' value='69d8f23c39a9b9096640889'><input type='hidden' id='bg-show-more-text-69d8f23c39a9b9096640889' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c39a9b9096640889' value='Hide Answer'><button id='bg-showmore-action-69d8f23c39a9b9096640889' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c39a9b9096640889' ><\/span><\/p>\n<p><span style=\"color: #000000\">a) [ ]<\/span><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>73. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [4, 0, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = str(x[0]) + str(x[1])<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 11<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 4<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 40<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 7<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c39b2f1060880027' value='69d8f23c39b2f1060880027'><input type='hidden' id='bg-show-more-text-69d8f23c39b2f1060880027' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c39b2f1060880027' value='Hide Answer'><button id='bg-showmore-action-69d8f23c39b2f1060880027' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c39b2f1060880027' ><\/span><\/p>\n<p><span style=\"color: #000000\">c) 40<\/span><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\"><strong>74. What will be the output after the following statements?<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">x = [4, 0, 7]<\/span><\/p>\n<p><span style=\"color: #000000;\">y = float(x[0] + x[2])<\/span><\/p>\n<p><span style=\"color: #000000;\">print(y)<\/span><\/p>\n<p><span style=\"color: #000000;\">a) 11<\/span><\/p>\n<p><span style=\"color: #000000;\">b) 11.0\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">c) 47.0<\/span><\/p>\n<p><span style=\"color: #000000;\">d) 47<\/span><\/p>\n<p><span style=\"color: #000000;\"><input type='hidden' bg_collapse_expand='69d8f23c39bb96072990632' value='69d8f23c39bb96072990632'><input type='hidden' id='bg-show-more-text-69d8f23c39bb96072990632' value='Show Answer'><input type='hidden' id='bg-show-less-text-69d8f23c39bb96072990632' value='Hide Answer'><button id='bg-showmore-action-69d8f23c39bb96072990632' class='bg-showmore-plg-button bg-orange-button bg-arrow '   style=\" color:#4a4949;\">Show Answer<\/button><div id='bg-showmore-hidden-69d8f23c39bb96072990632' ><\/span><\/p>\n<p><strong><span style=\"color: #000000\">b) 11.0\u00a0<\/span><\/strong><\/p>\n<p><span style=\"color: #000000\">\u00a0<\/div><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">In above article you learned and practice List in Python MCQs, Output based questions in List, List Manipulation in Python.\u00a0<\/span><\/p>\n<h3><a href=\"https:\/\/cbsepython.in\/list-manipulation-in-python-class-11-notes\/\"><span style=\"text-decoration: underline;\"><span style=\"color: #ff0000; text-decoration: underline;\">For List in Python Quick Revision Notes for Class 11 and 12 explore this site.\u00a0<\/span><\/span><\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>70+ List Manipulation in Python MCQ In this section you will practice List in Python MCQ for your board exam preparation. These MCQs are designed for objective as well as subjective type questions. These\u00a0 List in Python MCQ will also help in Output based List in Python questions. It covers all possible List Manipulation in [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,16,20],"tags":[],"class_list":["post-1702","post","type-post","status-publish","format-standard","hentry","category-cbse-sample-papers-class-11","category-cbse-sample-papers-class-12","category-cbse-computer-science-with-python-class-12"],"_links":{"self":[{"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/posts\/1702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/comments?post=1702"}],"version-history":[{"count":0,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/posts\/1702\/revisions"}],"wp:attachment":[{"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/media?parent=1702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/categories?post=1702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cbsepython.in\/wp-json\/wp\/v2\/tags?post=1702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}