so long as you don't have a naming conflict, you can create multiple helper functions outside of the main kata function and use them in any way you want. of course, in python you can also create functions that are nested within the main kata function.
OP solved it, closing
This comment is hidden because it contains spoiler information about the solution
so long as you don't have a naming conflict, you can create multiple helper functions outside of the main kata function and use them in any way you want. of course, in python you can also create functions that are nested within the main kata function.