AUTUMN TERM 1 - PYTHON BASICS 5
Create a Quiz
PROGRESS POINT TASK:
Create a new script called ‘Homework 5 Progress Point’.
Using the previous example, write a program to:
Create a new script called ‘Homework 5 Progress Point’.
Using the previous example, write a program to:
- ask the user to input a password. The correct password is “letmein”.
- while the password entered is not equal to “letmein”, you should output the message “The password is incorrect. Please try again.” The user should be given the opportunity to try inputting the correct password. This is repeated until the user inputs the correct password.
- when the password is correctly entered, output the message “The password is correct!”