
Implement split_on, which cuts values at every occurrence of marker and returns the groups of numbers found between the cuts.
split_on([4, 0, 7, 8, 0, 5], 0)[[4], [7, 8], [5]]split_on([9, 9, 1, 9], 9)[[], [], [1], []]split_on([2, 6], 1)[[2, 6]]split_on([], 3)[[]]split_on.py
Run the tests to grade your code
Implement split_on, which cuts values at every occurrence of marker and returns the groups of numbers found between the cuts.
split_on([4, 0, 7, 8, 0, 5], 0)[[4], [7, 8], [5]]split_on([9, 9, 1, 9], 9)[[], [], [1], []]split_on([2, 6], 1)[[2, 6]]split_on([], 3)[[]]split_on.py
Run the tests to grade your code
Variables will appear here