Thread shed problem, 4x print

Hi. I am doing the Thread shed excercise. I am following the help video, and even though I am copying what he is coding, I get my print 4 times. I dont get whats wrong

https://gyazo.com/f9d9bc4c774b4ba817523da8c8e66ec5

Do you know what does happen in your code, have you been observing the state of things while it’s running? Otherwise it’s not so much not understanding what’s wrong as it is just not looking. Not understanding what’s wrong would be being able to argue for why it’s right and to make observations that this is indeed what is being done, and yet still having something be wrong.
It’s not a black box so getting the wrong result isn’t the end of the road, find out what happened, adjust.

You should expect to have full control over everything you write. (otherwise, who’s writing the program?)