We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

If-Else Practice

Here are some basic rules with if/else blocks.

  • You can't have an elif or an else without an if
  • You can have an else without an elif

Assignment

Complete the check_high_score function. If the player_name matches the high score name, return the string:

high

Otherwise, if it's the low scorer, return the string:

low

Otherwise, return the string:

neither