what's == in python code example Example: what does == mean in python if a == 2: # Compares whether a is equal to 2 print a