Explicitly handle corner cases [ 10 , 19 ]
if ( ord ( num [ x ] ) - ord ( '0' ) == 1 ) : NEW_LINE INDENT sum = ( ord ( num [ x ] ) - ord ( '0' ) + ord ( num [ x ] ) - ord ( '0' ) ) NEW_LINE ans += two_digits [ sum ] NEW_LINE return ans NEW_LINE DEDENT