Build a small account access checker using a fictional user status value and at least three possible outputs.
Reveal step-by-step solution
1. Create a variable like account_status = 'pending'. 2. Write if account_status == 'active': print('Access granted'). 3. Add elif account_status == 'pending': print('Verification required'). 4. Add else: print('Access blocked'). 5. Change the value and rerun the script to test each branch. 6. Confirm each message appears as expected.