EasyOutput prediction

List comprehension basics

What does this code print?

result = [x * 2 for x in range(4)]
print(result)

← → arrow keys to navigate

Sign in to save your progress.