logo

Question detail

In Python 3, what is the value of len("computer")?

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, what is the value of len("computer")?.

  1. A.7
  2. B.8
  3. C.9
  4. D.10

Model answer

What a good answer should say

  • 8

Explanation

Why this works

The length operation counts the characters in the string. The word "computer" contains eight characters.

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.