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!.
1) Must use logical operator.
2) Only one if keyword can appear in your program and the nested decision structure is NOT allowed.