Boolean values and conditions
Boolean values and conditions
A condition is a test a program can evaluate, and it always becomes either True or False. These two outcomes are Boolean values, and in Python they start with capital letters.
Step-by-step lessons on Edexcel GCSE Computer Science Using logical operators. Each one builds up to exam-style questions. Build strong foundations in binary, logic and core programming constructs before moving on to the more complex algorithm design and evaluation questions.