def get_temp_min_and_max(wxlist: [str]) -> ([str], str, str):  
temp_max, temp_min = '<STR_LIT>', '<STR_LIT>'<EOL>for i, item in reversed(list(enumerate(wxlist))):<EOL><INDENT>if len(item) > <NUM_LIT:6> and item[<NUM_LIT:0>] == '<STR_LIT:T>' and '<STR_LIT:/>' in item:<EOL><INDENT>if item[<NUM_LIT:1>] == '<STR_LIT:X>':<EOL><INDENT>temp_max = wxlist.pop(i)<EOL><DEDENT>elif item[<NUM_LIT:1>] == '<STR_LIT:N>':<EOL><INDENT>temp_min = wxlist.pop(i)<EOL><DEDENT>elif item[<NUM_LIT:1>] == '<STR_LIT:M>' or item[<NUM_LIT:1>].isdigit():<EOL><INDENT>if temp_min:<EOL><INDENT>if int(temp_min[<NUM_LIT:2>:temp_min.find('<STR_LIT:/>')].replace('<STR_LIT:M>', '<STR_LIT:->'))> int(item[<NUM_LIT:1>:item.find('<STR_LIT:/>')].replace('<STR_LIT:M>', '<STR_LIT:->')):<EOL><INDENT>temp_max = '<STR_LIT>' + temp_min[<NUM_LIT:2>:]<EOL>temp_min = '<STR_LIT>' + item[<NUM_LIT:1>:]<EOL><DEDENT>else:<EOL><INDENT>temp_max = '<STR_LIT>' + item[<NUM_LIT:1>:]<EOL><DEDENT><DEDENT>else:<EOL><INDENT>temp_min = '<STR_LIT>' + item[<NUM_LIT:1>:]<EOL><DEDENT>wxlist.pop(i)<EOL><DEDENT><DEDENT><DEDENT>return wxlist, temp_max, temp_min<EOL>
Pull out Max temp at time and Min temp at time items from wx list