Question: Make a looping program to prompt for a password until successful. if the user enters the wrong password, ask again. - put a loop
Make a looping program to prompt for a password until successful. if the user enters the wrong password, ask again. - put a loop to keep asking whil the password is incorrect - Prompt the user for a password. - Check if the password is "letmein'. - Only after the corre password has been entere, print a message saying "Correct". Use a while loop. Loop until after getting the correct password
Step by Step Solution
3.52 Rating (152 Votes )
There are 3 Steps involved in it
Python Code while True password inputEnter the password if password letmein pr... View full answer
Get step-by-step solutions from verified subject matter experts
