How to return in recursion function

前端 未结 0 1888
感动是毒
感动是毒 2021-02-06 15:01

My program takes string as function argument and returns substring . How to append them to a list in recursive function . . . ?

def sub(arr):
    sub=[0 for x in          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题