Write a Python program to authenticate a user trying to log into a secure school lab terminal.
The program should:
Access denied if the entered username and password combination is not validAccess granted if the entered username and password combination is validYou should use indentation as appropriate, meaningful variable name(s), and correct Python syntax in your answer.
| Username | Password |
|---|---|
| Teacher1 | Lab99* |
| StudentA | Xy3_7 |
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.