Python Principles


Slide solved ✓

Comparing values

It is often necessary to have your program check if two values are the same. This is done using two equals signs: ==.

Note that a single equals sign is different: it is used to create a variable.

Lesson completed

Congratulations! You have finished the lesson "Booleans".

Rate the lesson

Leave feedback

Next lesson Browse lessons
Sorry, that's not right.