Given the following function call:
- math_sequence(2);
And the resulting output:
- [4, 6, 8, 10, 12, 14, 16, 18, 20, 5.5, 6, 6.5, 7, 7.5, 8, 8.5, 9, 9.5];
Create a function definition that achieves the output with the given input.
Given the following function call:
And the resulting output:
Create a function definition that achieves the output with the given input.