def __replace_random(sentence):
sub_list = None<EOL>choice = None<EOL>if sentence is not None:<EOL><INDENT>while sentence.find('<STR_LIT>') != -<NUM_LIT:1>:<EOL><INDENT>random_index = sentence.find('<STR_LIT>')<EOL>start_index = sentence.find('<STR_LIT>') + <NUM_LIT:8><EOL>end_index = sentence.find('<STR_LIT:]>')<EOL>if sentence.find('<STR_LIT>') is not None:<EOL><INDENT>sub_list = sentence[start_index:end_index].split('<STR_LIT:U+002C>')<EOL>choice = random.randint(<NUM_LIT:1>, int(sub_list[<NUM_LIT:0>]))<EOL><DEDENT>to_be_replaced = sentence[random_index:end_index + <NUM_LIT:1>]<EOL>sentence = sentence.replace(to_be_replaced, sub_list[choice], <NUM_LIT:1>)<EOL>if sentence.find('<STR_LIT>') == -<NUM_LIT:1>:<EOL><INDENT>return sentence<EOL><DEDENT><DEDENT>return sentence<EOL><DEDENT>else:<EOL><INDENT>return sentence<EOL><DEDENT>
Lets find and replace all instances of #RANDOM
    :param _sentence: