Q18Single correct3 Marks28 Apr 2024What is the output of the following snippet of code? L = [x ** 2 if x % 2 == 0 else 2 * x for x in range(1, 11)] print(L)A[2, 4, 6, 16, 10, 36, 14, 64, 18, 100]B[1, 4, 9, 8, 25, 12, 49, 16, 81, 20]C[1, 4, 9, 16, 25, 36, 49, 64, 81, 100]D[2, 4, 6, 8, 10, 12, 14, 16, 18, 20]