Function which break string into two halves Sorts the two halves separately Compares the two halves return true if any index has non - zero value
def function ( st ) : NEW_LINE INDENT st = list ( st ) NEW_LINE l = len ( st ) NEW_LINE DEDENT