QuestenaPráctica que te muestra qué repasar después
Pregunta 46

For dictionary view objects, which statements are true? Select all that apply.

  1. Every view is a frozen list.
  2. A previously obtained keys view can show a later added key.Respuesta correcta
  3. A view captures a permanent snapshot at creation time.
  4. The objects returned by `keys`, `values`, and `items` are views.Respuesta correcta

Explicación

The objects from `keys`, `values`, and `items` remain connected to their dictionary and reveal later content changes. Treating them as frozen lists or snapshots misses this live-view behavior.

Continúa con este test

Empezar la práctica
Pregunta 46: For dictionary view objects, which statements are true?… · Python Fundamentals · Questena