If the next key does not contains the character
if ( trail . t [ ord ( key [ i ] ) - ord ( ' a ' ) ] == None ) : NEW_LINE INDENT temp = None NEW_LINE temp = getNode ( ) ; NEW_LINE trail . t [ ord ( key [ i ] ) - ord ( ' a ' ) ] = temp ; NEW_LINE DEDENT trail = trail . t [ ord ( key [ i ] ) - ord ( ' a ' ) ] ; NEW_LINE