the two code segments below are each intended to display the average of the numbers in the list one word, num list. assume that one word, num list contains more than one value. program i: the block code consists of 5 lines. line 1: sum, left arrow, zero begin block line 2: for each num in num list, 1 word with capital l begin block line 3, indented 1 tab: sum, left arrow, sum plus num line 4, indented 1 tab: a v g, 1 word, left arrow, sum divided by length, begin block, num list, end block end block end block line 5: display, begin block, a v g, end blockprogram ii: the block code consists of 5 lines. line 1: sum, left arrow, zero begin block line 2: for each num in num list, 1 word with capital l begin block line 3, indented 1 tab: sum, left arrow, sum plus num end block end block line 4: a v g, 1 word, left arrow, sum divided by length, begin block, num list, end block line 5: display, begin block, a v g, end block which of the following best describes the two code segments?