Function takes in an array of numbers , dynamically goes on the location and makes combination of numbers .
def isSubSeqDivisible ( str ) : NEW_LINE INDENT n = len ( str ) NEW_LINE dp = [ [ 0 for i in range ( 10 ) ] for i in range ( n + 1 ) ] NEW_LINE DEDENT