Mary Is The Lab Administrator Mary S Password Is 1234 Is There A Python Program

Is there help for this question: Mary is the lab administrator. Mary’s password is ‘1234’. is there a Python program that can authenticate the administrator:

  • (1) Ask the user to enter his/her name and password.
  • (2) If the entered name is Mary and the entered password is 1234, print Access permitted!; otherwise, print Access denied!.

Requirements:

1) Must use logical operator.

2) Only one if keyword can appear in your program and the nested decision structure is NOT allowed.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW