Anyway, in this lecture we will see how to assess the items in a dictionary.
Items can be accessed by the key name.
You say the square bracket, the dictionary.
We still use the dictionary for fruit.
Lord Dixon will already know what we are all about.
How to create a little dictionary.
This way the key names are type color, source, sweet price, the value abhor.
And if this list at least falls to none of us are pulling a data types.
Price is tool here is strange because we use quotation marks.
Yeah.
We can use number.
Of note.
We pray the Lord Dick Price.
Think we got this video.
Let's run it in the idol.
I know we.
Create a new file.
They will drive the model.
PCV in two panel study in my kids.
Recovery is deep.
I turn?
Burke says.
Just the same thing people say.
But there are still another very good methods here.
I would like to introduce you.
We can use a cat.
Good mothers can get at the same results.
It's very easy.
We just use the blood vs fiction.
They don't get the guy to matter the price.
A key value.
That's the key here and I just create a variable x contains this.
Yeah.
Price.
Yeah.
Print X but a UK that directly use wrote the target price.
Yeah.
Here.
Maybe we put a command.
Almond using fact.
Knackered.
Here maybe also put the command.
Is we said you lost the key to that.
It's very.
MANFORD.
Yeah.
L.A., L.A. waiting.
Let's find.
You see, we got the same result.
Okay.
Now let's continue all bogged.
We just want to get to the key.
But the exchange is not so hard.
We just use the key piece method.
We say, for example, we want to get a case, we create a key variable.
We just use the dictionary.
Name the case.
Think predicates.
Here.
And that that he.
Based.
Let's try to see.
You see, we got excellent work.
Hi color.
So sorcery price.
Since we can get just the key.
How about we just get the way to get there?
Also never called a various method.
Which returns a list of all the values in the dictionary.
That we create available values.
Lord, take the name of the dictionary.
The values.
Then we print the bios.
So.
The Fed, the.
Values.
Dictionary.
Okay.
Let's write again.
You see the last line?
We get the.
Just the way it was.
Apple.
Red, green, yellow.
The list passed to 2.0.
Yeah.
Okay.
This is the lecture.
For the next lecture, we will see how to change the high terms in the complex data types.
We started from the list of you are ready.
Just go ahead for the lecture.
See you there.
Thank you.