Exam-style question
Try this first
In Python 3, which operator means 'not equal to'?.
- A.=
- B.!=
- C.<=
- D.==
Answer and explanation
Concise answer
!=
Why this is correct
The != operator tests whether two values are different. The = operator is not the not-equal operator.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
