Thread Shed Woes

I can’t for the life of me figure out why all my data is getting multiplied 4x. Below are screenshots from the Get Help video and my code in the interpreter.

What am I doing wrong here? They seem to say the same thing to me.

1 Like

First, I recommend doing the long form exercises in your preferred code editor (sublime, atom, etc). It’ll just help you trouble shoot better.

If these codes are identical but they are behaving differently, it’s probable that there is code not pictured in the images that is affecting the output.

For me personally when I went through these I didn’t go through with video. But hypothetically if I did, I’d want to test every line of code I copied just to understand what it’s effect is as I add them up (adding comments to mark outcomes that I didn’t expect and therefore should come back to study)