TASK 3

Logical

Finally, you can combine boolean values using the logical operations.

These are:

Incase you haven't seen these before, a and b is True when BOTH a and b are True

a or b is True when EITHER OF a or b are True.

Finally, not inverts a single boolean value. not True is False and not False is True


Your task is to print a and not b

Well done!

You have completed all of the tasks.

Return home or take a look at the tutorials

Something isn't quite right...

Close this message and have another go!

GUIDE

This guide is intended to help with syntax. See the prelude section for pre-defined functions and variables. See the tutorials page for tutorials on how to write code.



Can't find what you're looking for?

Check the tutorials page for more!

PRELUDE

The prelude is all the pre-defined functions and variables available to use. See the tutorials page for tutorials on how to write code.



Can't find what you're looking for?

Check the tutorials page for more!