CONDITIONALS: What happens when entering the wrong password? Nothing! Let's create a result.
else creates a block of code following an if statement that only runs when all previous conditions are False.
- In the LOGIC tab and toolkit, drag Else to the bottom of the program. Don't indent it!
- Add a sprite Say indented once inside the else statement. The sprite should say "Incorrect!"
- Click Run and enter an incorrect password. Anything that isn't "#1PythonCoder" will be incorrect!
To navigate the page using the TAB key, first press ESC to exit the code editor.