Adding Dictionary Items Quiz
Question 1 of 70% Complete
What is the most basic way to add a single item to a dictionary?
dict.add(key, value)
dictkey = value
dict.insert(key, value)
dict.append(key, value)
What is the most basic way to add a single item to a dictionary?
dict.add(key, value)
dictkey = value
dict.insert(key, value)
dict.append(key, value)