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

Solve for z : 4z-6/4=3z+1
I GIVE BRAINLIY 16 8 20= ?
citizen type : Participatory citizen
Guys I NEED YOUR HELP!! I can't seem to really remember since I was absent the day my teacher taught this. Can you guys help me!? Is she correct? and Why? I wil
Which of the following expressions have a result that is greater than 5?
The local Walmart sold 67 televisions on Tuesday, 79 televisions on Wednesday, 195 televisions on Saturday, and 82 televisions on Sunday. How many televisions w
What is -2,1 after a rotation 180 degrees clockwise around the origin
Carbon can bond with one or more carbon atoms, producing a variety of _____ A. hydrocarbons B. amino groups C. carbon skeletons D. inorganic molecules
Please help! Will give brainly. Which product is missing from the Kreb's cycle? Pyruvate + Oxygen → _________ + 2 ATP
How do I solve this equation?