logo

AQA A-Level Computer Science practice

In Python 3, what is the result of the expression 8 == 8?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

In Python 3, what is the result of the expression 8 == 8?.

  1. A.True
  2. B.False
  3. C.8
  4. D.An error

Answer and explanation

Concise answer

True

Why this is correct

The == operator tests whether two values are equal. Both values are 8, so the result is True.

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.

Related flashcards

No flashcards are published for this page yet.

Related practice questions