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