QuestenaUn entraînement qui indique quoi revoir ensuite
Question 1

What does the statement `count = 3` do in Python?

  1. It binds `count` to an integer object.Bonne réponse
  2. It declares `count` as permanently integer typed.
  3. It stores an untyped raw value inside `count`.
  4. It converts a previous value of `count` to an integer.

Explication

The statement makes the name `count` refer to the integer object with value 3. It does not declare that the name must always refer to integers, so the permanent-type interpretation is the closest misconception.

Continuer avec ce test

Commencer l’entraînement
Question 1: What does the statement `count = 3` do in Python? · Python Fundamentals · Questena