Also, when printing just a variable, you can just write:
let, things like
question, which can only be changed, in this project, by the user accessing the code, the program does not change their values, which means they can be assigned
const, as it makes it clear that they cannot be changed halfway through the program. For example, if you were to write:
const question = "question1?";
and ran it, you would have “question1?” printed. If you ran it again, but before you ran it, you changed it:
const question = "question2?";
it would run perfectly well. However, using
question from accidentally being changed halfway through the program.
I hope this helps!