text: divide the whole string by 2. i is used to track index in current number . j is used to track index for next iteration .
code: j = 0 ; NEW_LINE for i in range ( len_str ) : NEW_LINE INDENT num = num * 10 + ( ord ( sttr [ i ] ) - ord ( '0' ) ) ; NEW_LINE DEDENT