

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
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
When a comparison happens, the result of the comparison is just a boolean value, it's either True or False.
Take the following two examples:
is_bigger = 5 > 4
is_bigger = True
In both of the above cases, we're creating a Boolean variable called is_bigger with a value of True.
Because 5 is greater than 4, is_bigger is assigned the value of True.
Create the following variables. Use comparison operators to determine their boolean values. The context of the variable names should tell you which variables to compare for equality (using ==). Return them in this order:
is_mustang_edward_sameis_alphonse_edward_sameis_winry_alphonse_same