What relational operators do
What relational operators do
A relational operator compares two values and returns a Boolean result, either TrueTrueTrue or FalseFalseFalse. A comparison such as score≥50score \ge 50score≥50 is a relational expression because Python can work out whether it is true.
Step-by-step lessons on Edexcel GCSE Computer Science Using relational 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.