What will be displayed by the following code?
myList = [<

Loading

Choose the correct option.

What will be displayed by the following code?
myList = [155551]
max = myList[0]
indexOfMax = 0
for i in range(1, len(myList)):
    if myList[i] > max:
        max = myList[i]
        indexOfMax = i
print(indexOfMax)

A. 0
B. 1
C. 2
D. 3

Leave a Comment