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
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?)