Imagem de fundo

Considere o código Python abaixo.def oper(l, item): pos =...

Considere o código Python abaixo.


def oper(l, item):

pos = 0

x = False

___I___

if l[pos] == item:

x = True

else:

pos = pos+1

return x

v = [1, 2, 32, 8, 17, 19, 42, 13, 0]

print(oper(v, 8))


Para que o código exiba na tela o valor True se o item buscado no vetor por meio da função oper for encontrado, a lacuna I deve ser corretamente preenchida por


A

while pos < l and not x:


B

while pos < len(l) && x:


C

while pos < len(l) and not found(x):


D

while (pos < len(l) && not(x)):


E

while pos < len(l) and not x: