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