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

Which business practice did Rockefeller repeatedly use that helped him succeed in building his oil monopoly
what is this answer to 40363 plus ➕ 7263? random question for you guys to get points not really wanting to know answer
which of the following is not a common color for photography umbrellas
what would you get if you were to multiply a negative with a negative?
Nearest whole number to 67,400
write an equation for the inverse y=2x-3
the term for fungi that decompose dead organic matter is
Which of the following numbers are written in scientific notation ? a) 0.641×10^3 b) 2×10^1 c) 9.999 ×10^4d) 4.38 ×5^10
Which is the best example of imagery? A. The story of his wonderful Journey was told. B. The sun looked hard at scarface. C. Morning Star Yearned to try his ski
Which is a possible way to rewrite the equation y=3x+3b solve for b?