Where is the optimal place to insert a print statement in the for loop of the following code to see how the list is being built and help debug the code?

a) Before the loop
b) After the loop
c) Inside the loop, before appending
d) Inside the loop, after appending