C4, Wk 1 ex 3.3

Hi Paul
Can you advise if there is a loop inside your caller function please?
From this -
print (“Outside loop - should not repeat”)
for i in range(#examples): #loop over each example
print (“Inside i loop - should repeat m times”)
I get this - which suggest a loop calling the function 3 times
Outside loop - should not repeat
Inside i loop - should repeat m times
Inside i loop - should repeat m times
Outside loop - should not repeat
Inside i loop - should repeat m times
Inside i loop - should repeat m times
Outside loop - should not repeat
Inside i loop - should repeat m times
Inside i loop - should repeat m times

1 Like

image

image

I think this is a duplicate thread. I answered on this other one.