Now we're going to learn how to tell the computer to make decisions and only run code
under certain conditions. For this we will need a new type of value. You've seen
numbers and strings, now meet booleans. There are only two boolean values:
True
and False
. Try this program:
condition = True
print(condition)
condition = False
print(condition)
You need to run some code according to the instructions above. In case those aren't clear enough, here's some extra clarification:
When you run code that doesn't pass the current step, this section will sometimes explain what's wrong.
This step doesn't have any hints. Try reading the instructions and requirements again. You can still check the solution if you're really stuck.