Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 305 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 305 Bytes

factor_of_sequence

Given the following function call:

  • factor_of_sequence(2);

And the resulting output:

  • [0,3,0,0,6,0,0,9,0,0,12];

Create a function definition that achieves the output with the given input.

Solution Set