Blog

What is the output of the following code?

list = [2, 5, 6, 1, 9, 2, 4]
for x in list:
if x == 2:
continue
else:
print(x)