Loading...
Loading...
Loading...
Support tickets are numbered in the order they arrive. A reviewer checks the 1st, 3rd, 5th ticket and so on. Print those ticket numbers on one line, separated by spaces.
Example
Input
5 11 12 13 14 15
Output
11 13 15
Indexes 0, 2 and 4.
Try the problem first. Open one hint at a time.
A slice can take a step: the third part of [start:stop:step].
Join the selected values with spaces.
Write your Python code, run it on the examples and submit it to hidden tests.
Solve in the editor