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
No active XP Potion
Accept a Quest
Login to submit answers
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 parameter names should tell you how to make these comparisons. Return them in this order:
is_mustang_edward_same
is_alphonse_edward_same
is_winry_alphonse_same
Focus Editor
Alt+Shift+]
Next Tab
Alt+Shift+[
Become a member to Submit
Become a member to Run
Become a member to view solution