मान लीजिए कि arr नाम वाली एक सूची में 5 तत्व हैं। आप सूची से दूसरा तत्व प्राप्त कर सकते हैं का उपयोग करना:
Suppose a list with name arr, contains 5 elements. You can get the 2nd element from the list using :
A
arr[-2]
B
arr[2]
C
arr[-1]
D
arr[1]
Explanation
Correct Answer: D) arr[1]