I am making a program, and it has not been working. I had been lead to believe that the console is not loading my code correctly because a variable is showing a value that I used to have it set as. It now has a different value and is still loading the old value.
The variables value should be changes inside a if-statement that’s nested inside a while loop, and change throughout the rest of the program.
It stays at an old value that is not set in the location I want it to be set. Once the variable should be changed, it displays “None”, but doesn’t even have a value of None.
Steps to reproduce:
Run the repl and you will be prompted to answer a question, you can skip it by pressing enter. The next question you want to enter “hiragana”, it does not matter if the first letter is capitalized, as long as it’s spelled correctly. The question after that, you want to enter a plus sign (+). It will say “Please enter ND”. If you enter ND and press the enter key after that, it will say “Please enter None”. There will be no correct answer to this question. You can view the code and see if I did something wrong, but there was also something I reported about the editor too.
Bug appears at this link:
This is the project. You can read the code and I’m sorry if it’s messy.
Device (Android, iOS, NA leave blank):
Desktop app version (Avatar menu->“Version”) or NA:
Plan (Free, Hacker, Pro Plan):