I do not understand what I have done wrong here. The problem is the bottom. My loop does not do what it is supposed to. You may wonder why all of those "if" statements are there. That is because I thought the "or" statements might have been the issue so I separated the conditional statements.
When I run it and input a bad value, it will not do anything. Earlier, if I put in a good value it acted as if it were bad. (Before I adjusted the code)
Please let me know what I did wrong with the code.