Recursion - Codes of String

Taken care of zero in input case too, still getting WA. What is wrong?

And the question is made very bad, asking to return an Arraylist when there’s no pre code, moreover not everyone codes on Python, as believed by Python coders.

your logic of code is correct only problem is you have not print the ans according to question requirement

i think you have correct this mistake and got 100 points

if you have any more doubts regarding this feel free to ask
else mark doubt as resloved