Questions left isn't going down
Can anyone help me figure out where my error is? Thanks! https://w.trhou.se/orf47o4esa
So the issue you are running into has to do with the order of your variables. So your
questionsLeft variable is assigned once at the top but then is never re-assigned with the new decremented
questions variable. If you see below I have re-assigned your
questionsLeft variable with the new
questions value each time which gives you the output you want. I also removed the code you had on line 2 which just appeared to be a random string not assigned to anything. I hope this helps.