What will the output of the following program be where L = [13, 16, 2, 19, 22, 24, 10, 49, 28, 82, 18]

Code:

L = [13, 16, 2, 19, 22, 24, 10, 49, 28, 82, 18]
final = []

for i in range(len(L)):
    if L[i]%9 == 1:
        final.append(L[i])

print(final)

Comments