QuestenaPractice that shows what to review next
Question 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.Correct answer
  3. A view captures a permanent snapshot at creation time.
  4. The objects returned by `keys`, `values`, and `items` are views.Correct answer

Explanation

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.

Continue with this test

Start practice
Question 46: For dictionary view objects, which statements are true?… · Python Fundamentals · Questena