Question: Take input from a user and depending on if the user satisfies the below conditions, make a decision on granting user access to the

Take input from a user and depending on if the user satisfies

Take input from a user and depending on if the user satisfies the below conditions, make a decision on granting user access to the secure server. (Display 'Access Granted" or "Access not granted') Conditions to be tested:- 1. Age>=18 (get user's date of birth as input and calculate the current age in your program) 2. Security Clearance Level- High (give the user 3 options:- High, Medium, Low) 3. Qualification/Degree Masters or Doctoral (give the user 2 options: Bachelors, Masters, Doctoral) 4. Prior experience in security domain in years>=5 5. Position Level: Manager or Higher (Position options: Partner/ Sr Manager/Manager/ Deputy Manager/ Associate/ Analyst/ Assistant) Deliverable Submit .py file with your code. Also ensure the code is well commented.

Step by Step Solution

3.41 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Import the datetime module to calculate the users age import datetime Get the users date of birth as ... View full answer

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!