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

Look at the diagram below. The picture shows Earth on the left and the sun on the right. The axis of Earth is shown tilted with the north pole towards the right
Explain how terrestrial vertebrates are adapted to reproduce on land.
can someone help me with my math?​
Please help!! Double points! write the ratios for sin X and cos X (Image attached) Will give BRAINLIEST to the person correct answer and please please show you
Factor the followingX^2+3x+2x^2+15x+50​
Show all work and explain in words Findthe value of x. Then find the measure of each labeled angle.
A line has a slope of a and has a y intercept of (0,b).Which equation represents this libe
This is the name given to the nazi-endorsed attacks on german jews on november 9-10
What is the best example of outsourcing
How did the U.S get involved in the war(world war 2)?