Python

Mini Project - Control Flow

PIN Security System

Assignment

For this mini project, let’s create a PIN based security system. For this program, the program should allow the user to input 3 tries for a PIN. If the user is correct on either of those tries, the user should be shown a success message, if not, the user should be shown a message saying that access is denied.

Hint: Have a while loop running until the user has done 3 tries or has got the PIN right, after which, the user should get a message depending on whether they were successful or failed to log in.

chevron_up