Iterate for all the characters
ch = '2' NEW_LINE while ( ch <= '9' ) : NEW_LINE INDENT s = chr ( ord ( s ) + ord ( ch ) ) NEW_LINE ok = 1 NEW_LINE t = 1 NEW_LINE i = curlen NEW_LINE ch = chr ( ord ( ch ) + 1 ) NEW_LINE while ( i >= 0 and len ( s ) ) : NEW_LINE INDENT t *= ord ( s [ i ] ) - 48 NEW_LINE DEDENT DEDENT