For loop to iterate over K to N and find number of possible valid partitions recursively .
for i in range ( k , n ) : NEW_LINE INDENT answer = ( answer + countPartitions ( n - i , i ) ) NEW_LINE DEDENT