L = [9, 35, 18, 200, 0, 6, 43, 21]Which of the following represents L after 3 iterations of the outer loop in selectionSort()?
A. [0, 6, 9, 18, 21, 35, 43, 200] B. [0, 6, 9, 200, 18, 35, 43, 21] C. [0, 9, 35, 18, 200, 6, 43, 21] D. [0, 6, 9, 35, 200, 18, 43, 21]
def main(): n = 5 ans = factorial(n) print ans def factorial(x): if x == 0: return 1 else: return x * factorial(x-1) main()[Answer (but red arrows aren't needed -- they just show where things get returned)]