logo

Question detail

In Python 3, which operator means 'not equal to'?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

In Python 3, which operator means 'not equal to'?.

  1. A.=
  2. B.!=
  3. C.<=
  4. 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.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.