DLS Course 5 Week 1 Dinosaur Island - Exercise 4 not working

Hello,
I am having trouble with Exercise 4. I don’t get any errors, but my output predictions are complete nonsense so I am receiving “Wrong expected output”.

Iteration: 22000, Loss: 0.034197

Pppppppppppppppppppppppppppppppppppppppppppppppppp
Llllllllllllllllllllllllllllllllllllllllllllllllll
Llllllllllllllllllllllllllllllllllllllllllllllllll
Pppppppppppppppppppppppppppppppppppppppppppppppppp
Zzzzzzzzzzzzzzzqqqqqssssssssssssssssssssssssssssss
Gggggggggggggggggggggggggggggggggggggggggggggggggg
Xxxxxxxxxxxxxxxxxxxxxqqrrrrrrrrrrrrrrrrrrrrrrrrrrr

Any help you provide would be greatly appreciated.

Thank you,
Heidi

Hey Heidi,

Would it be possible for you to DM me your code so I can take a peek and help best determine what might be causing this error?

Glad we could get the issue worked out!

It came down to the use of slicing, instead of .pop(0)-ing, and concatenating instead of appending!