what will you see on the next line?\n>>> alist = 9, 2, 3.5, 7\n>>> alist.index(3.5)\n2\n3\n3.5\ntrue

what will you see on the next line?\n>>> alist = 9, 2, 3.5, 7\n>>> alist.index(3.5)\n2\n3\n3.5\ntrue
Answer
Explanation:
Step1: Recall list index rule
In Python, list indices start from 0.
Step2: Find index of element
For aList = [9, 2, 3.5, 7], the index of 3.5 is 2 since it is the third element and 3 - 1 = 2.
Answer:
A. 2