Write a function can_login(is_active, is_locked) that returns True only when a player is active and their account is not locked. In all other cases it should return False. For example:
can_login(True, False)→Truecan_login(True, True)→False
Use nested if statements as shown in the concept description.