Even-ascending Sequences

Write a funcion even_ascending that receives a list of integers and returns True if elements in even positions form a strictly ascending sequence, and False otherwise.

Remember that lists positions are numbered starting at zero, which is even.

Observation

Submit just the function with no main program. If you have a test main, comment it out, or put it inside a conditional if __name__ == "__main__"

Problem information

Author: Lluís Padró

Generation: 2026-01-25T14:32:21.284Z

© Jutge.org, 2006–2026.
https://jutge.org