

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Comparison Operators
incomplete
2: Comparison Operator Evaluations
incomplete
3: Comparison Practice
incomplete
4: If Statements
incomplete
5: If Practice
incomplete
6: If-Else
incomplete
7: If-Else Practice
incomplete
8: If-Else Practice
incomplete
9: Boolean Logic
incomplete
10: Boolean Quiz
incomplete
11: Should Serve Drinks
incomplete
12: Mount Rental
incomplete
13: Combat Advantage
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Here are some basic rules with if/else blocks.
elif or an else without an ifelse without an elifRemember, to check if two values are the same use the == operator.
are_equal = 5 == 6
# are_equal is False
are_equal = 6 == 6
# are_equal is True
There is a bug in the check_high_score function! Add the proper conditional statement to fix the bug. If the names match, return the string:
You are the highest scoring player!
Otherwise, return:
You are not the highest scoring player!