As a homework, I have to define a function that returns a frozenset of the positions who are going to explode (the function is_to_explode() is already defined and works). So what this function does, is, given a board, (defined as a list), I’d have to check each elements to know if in this position the element will explode, and that by using a recursive way, well I just don’t see a startpoint. Furthermore, what is a parameter with a default value ?
Well if anyone could help, it’d be really great
Thanks in advance.
ps, a screenshot of the function