1. In class, we saw how we could use a for loop to calculate the sum of some numbers. Each of the following loops is an attempt to sum up the numbers from 1 to n (you can assume n is initialized to some value). For each case, explain why this doesn't actually sum the numbers 1 through n. a. sum = 0 for i in range(n): sum = sum + i b. sum = 0 for i in range(n): temp = sum + (i+1) sum = temp c. sum = 0 for i in range(n): sum = (i+1) d. sum = 0 for i in range(n): temp = (i+1) sum = temp 2. You decide to reimplent the setcolor_random method from class that randomly sets the fillcolor to one of four different colors, but you're feeling rebellious and don't use any elifs: def setcolor_random(): """ Set the fill color randomly from: blue, purple, red and yellow """ color = randint(1,4) if color == 1: fillcolor("blue") if color == 2: fillcolor("purple") if color == 3: fillcolor("red") else: # color == 4 fillcolor("yellow") When you try it, unfortunately, it doesn't quite work right. What will this function actually do and what is the problem?