Consider the following code snippet:
arr = [2, 4, 6, 8]
print(arr[0] + arr[2])
What will be printed after the execution of above code?
12
6
10
8
Boost your performance with adaptive practice tests
Practice every concept in the syllabus
Compare your speed and accuracy with your peers
Download the app and practice on the go