This Python code prompts the user to enter a password 3 times, checking each input against the string "awesome" in lowercase. If the password matches, it prints "ur in" and breaks out of the while loop; otherwise it increments the attempts counter and continues prompting until attempts reaches 3.
This Python code prompts the user to enter a password 3 times, checking each input against the string "awesome" in lowercase. If the password matches, it prints "ur in" and breaks out of the while loop; otherwise it increments the attempts counter and continues prompting until attempts reaches 3.
This Python code prompts the user to enter a password 3 times, checking each input against the string "awesome" in lowercase. If the password matches, it prints "ur in" and breaks out of the while loop; otherwise it increments the attempts counter and continues prompting until attempts reaches 3.