Sep-10-2021, 05:37 PM
(Sep-10-2021, 12:52 PM)deanhystad Wrote: The instructions say print. Why are you using a list?Thanks
Your recursive function creates a list each time it is called. You append one value and return the list. The return value is not used. See the problem? You never grow the list because each time the function is called you make a new list. You need to make one list that is used for all function calls.