What’s wrong with my code?!?!
I’m messing around with if else statements and while loops and I can’t get my program to work properly. Here is my code: https://sololearn.com/compiler-playground/cho3Gw2aTRXI/?ref=app Bugs: 1. when I enter password correctly on the first attempt it will give me the invalid message. 2. Sometimes after access granted, won’t accept correct answer on the first try and gives me the invalid answer message. 3. It works correctly if you answer “no” but gives invalid answer message for “yes” Please help