Question: Write a program that asks a user to enter the password in order to access the data. If the password is entered incorrectly 3 times

Write a program that asks a user to enter the password in order to accessthe data.
If the password is entered incorrectly 3 times in a row, raise aValueErrorexception and inform the user that they are now locked out.
If the password is correctly entered, open the data file, parse the records,and on separate lines print the patients name (First, Middle, Last) and theirSS# with NO blank lines between each line.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!