Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 308 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 308 Bytes

numeric_toggles

Given the following function call:

  • numeric_toggles(2);

And the resulting output:

  • [4, 6, -9, -12, 16, 20, -25, -30];

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

Solution Set