Lookups, iteration and membership in dictionaries

A cafe stores its fruit prices in dollars as prices = {"apple": 0.5, "pear": 0.75}. Consider each statement below about this dictionary on its own, starting from this original value. Select every statement that is true.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Dictionaries Questions: