3What is the output of the following code?a = [1, 2, 3, 4, 5] print(a[1:4], a[::2])A[2, 3, 4] [1, 3, 5]B[2, 3, 4, 5] [1, 3, 5]C[2, 3, 4] [2, 4]D[1, 2, 3] [1, 3, 5]View AnswerWorkspaceReportSaveEasy