Lesson 09: If Statements: Making Decisions

The program picks one message depending on the score, using if / elif / else from the lesson. Change the score and run again.

Loading Python… this can take a few seconds the first time. Please wait — the Run button will become available when Python is ready.

Try this: Change the score to 85 and press Run again — the message becomes “Good job!” Try 95 and 60 too.

The code that runs



Output

Press Run to see the output here.