Use nested if statements to check account access
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
Problem
Use nested if statements to check account access. If `has_account` is True, check `is_verified`: print "welcome" if verified, "verify needed" if not. If there is no account, print "no account".
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.