Question 6
What will be the output of the following code?
items = ["apple", "banana", "cherry", "date", "fig", "grape", "kiwi"]
sliced = items[::2] # Step of 2
filtered = [fruit for fruit in sliced if len(fruit) > 4]
result = "_".join(filtered[::-1])
print(result)
apple_cherry
fig_kiwi
grape_fig
cherry_apple