Questenaتدريب يوضح لك ما ينبغي مراجعته لاحقًا
السؤال 1

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

  1. It binds `count` to an integer object.الإجابة الصحيحة
  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.

الشرح

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.

تابع هذا الاختبار

بدء التدريب
السؤال 1: What does the statement `count = 3` do in Python? · Python Fundamentals · Questena