Consecutive Multiples

Write a funcion consecutive_multiples that receives a list of strictly
positive integers and returns the number of elements that are multiple
of the preceding one.

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:25:21.724Z

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