Myrah2056 Myrah2056
  • 03-01-2020
  • Computers and Technology
contestada

In a Python dictionary, an association is formed between what two components of the dictionary?

Respuesta :

flightbath flightbath
  • 03-01-2020

Answer:

Yes, an association is formed between key and its value.

Explanation:

A dictionary in python is an unordered data structure where 2 elements are entered for each entry - a key and its value. Unlike list, we have to give the index through which we want to access that value. This is more flexible than lists as in lists index can be of int type only but in dictionary key can be of any datatype. For example :

dict = { "apple: 1 , "banana" : 2 }

Every element need not be of same type, they can differ too.

Answer Link

Otras preguntas

What is the steps to the answer 17=p-3-3p?
3x^2 - 12x ÷ x-4 what is this simplified
what did John paul jones do in the revolutionary war
Jason walked 3/4 miles in 30 minutes. How long will it take Jason to walk 1 mile? Use a double number line to show your work.
Jonathan sows some pea pods in one pot. Within a few days the seeds germinate and a radicle forms, which gives rise to roots. How does a radicle give rise to th
A. You have $25 in the United States. Imagine you are visiting India in 2013 to check out new products. How much would your $25 be in Indian rupees? (Be sure to
What is the long term and short term goal of every organism?
three equivalent ratios to 8:10
Use the distributive property to express 28+42
Do all of the countries of central and south america have spanish as their official language?