11What is the output of the following code?a = [1, 2, 3, 4] print(a[-2:], a[:-2])A[3] [1, 2]B[4] [1, 2, 3]C[3, 4] [1, 2]DErrorView AnswerDiscussWorkspaceReportSaveEasy
12What is the output of the following code?a = [1, 2, 3] b = a[:] b[0] = 99 print(a[0])A1B99CNoneDErrorView AnswerDiscussWorkspaceReportSaveMedium
13What is the output of the following code?a = [1, 2] a.extend([3, 4]) print(a)A[1, 2, [3, 4]]B[1, 2]C[3, 4, 1, 2]D[1, 2, 3, 4]View AnswerDiscussWorkspaceReportSaveEasy
14What is the output of the following code?a = [5, 3, 8] print(max(a), min(a), sum(a))A5 3 16B8 3 16C8 3 15D3 8 16View AnswerDiscussWorkspaceReportSaveEasy
15What is the output of the following code?print(list(range(5, 0, -2)))A[5, 3, 1]B[5, 3]C[5, 4, 3, 2, 1]D[1, 3, 5]View AnswerDiscussWorkspaceReportSaveEasy