Blog

What is the output of the code below?

tuple = (5, 2, 5, 8, 9)
[tuple[i] for i in range(0, len(tuple), 2)]