# Trace the following code by hand and write down the output (hint: print statement) # then, check your answer by running the code in Pycharm # # Hint: Do not try this problem in your head! Use a sheet of scratch paper, and work through # memory like we discussed in class. def f(a, b): for i in range(5): for j in range(i-2): print(a * b, c[len(c)::-3]) a += 1 b -= 1 a, b = 1, 9 c = [a, 'a', str(b), b, True, float(a), 3, 4, 5] print(f(a, b))