Exam-style question
Try this first
In Python 3, which operator means 'not equal to'?.
- A.=
- B.!=
- C.<=
- D.==
Model answer
What a good answer should say
Use the explanation below to check the main marking points for this question.
Explanation
Why this works
The != operator tests whether two values are different. The = operator is not the not-equal operator.
Common mistake
No common mistake is linked to this question yet.
