Ask coding questions

← Back to all posts
My repl stopped running randomly.
NoelB33

My repl won’t run whenever I run it. It was working yesterday and I never changed it. I don’t know what to do. It just won’t run anything at all. It installs all the packages but then just breaks and doesn’t do anything.

Answered by a5rocks [earned 5 cycles]
View Answer
Voters
josima
NoelB33
Comments
hotnewtop
a5rocks

It's because of this:

Try moving applebefore = ... to before the while loop, and update it whenever the stocks grow using applebefore = appleafter

NoelB33

Now I get a gigantic error...

@a5rocks

a5rocks

the ticker is aapl not appl i think @NoelBryan

NoelB33

That works now, it just has some small errors! It just says “stocks grew” no matter what but i think I can fix that, [email protected]