Well well now we're going to begin with creating a few different dimensional addy's in it.
So let me just put it up as a month down and let's say different dimensional
Aronsohn umpire.
And we begin to wait for us to follow the
the first dimension.
That being as you already mentioned Lattin.
So let me say zero dimensional Larrey.
And of course that's what you're going to do.
What is the zero dimensional.
By the way I see three dimensional That is nothing but if if I may say it's nothing but just a while.
So let me say I look an import non-players and B and cos I have using the Mondial in the model that
is an adding matter which we always saw.
I'm going to say just if I say 42 so that.
And I see 42 is just a value that I put correct if I say Adye.
And if I print x print type of x
print the dimension of x.
So S. dimension of x.
And then I say Khama dimension of x can be always done with a particular in and b Mondial that is there
is a method call s.
You can have a look.
There is a method called an end.
OK.
So you can go up to 0.
You can go up the end so you can see a lot of methods and number.
So you can just go up to an and end them.
So you can see them right.
So if I say anti-that in them and I just need to pass them and chanels which variable you want to see
right shift and go there you are.
This is 42.
The value of x is 42.
The type of x is class non-pilot in theory and the mention of X is zero.
So that's the definition of x so you can just make an equal to that so that's about it.
So this is something which you need to understand about zero dimensional.
Now zero dimensional Laddie's of course we're not going to use them much.
But let's go one to more dimensions more dimensional Lauri's carpentry.
So let's say in a month down I'm going to see a one dimensional three one dimensional array.
And in this particular area what we're going to have is a list right.
So something of a kind.
So one dimensional area and we're going to have something where I'm going to say my.
Let me just define you know let me just define a few values in N integers and in floating point values.
Right.
So let me see it is all in integers so I'll say it already.
I'll pass the list within this.
I'm going to say one come on to come on come on.
And so on.
So this is an addy let me see a busy quarter again NPR-A and I'm going to be scrolled cell.
This time it's going to be floating point values.
So it's going to be 1.1.
Come on 2.5 Kamaz 6.3.
Come on.
Right.
So I have in the Now I can of course print a and print the and print if you want to you know.
You can always print the type of BMT.
That means the type of all the elements inside the array by saying a dot detect print b dot detect.
OK.
So just have a look at that.
So you have as you can see the first one is a.
Which is all integers which is an input to type breast of that type.
It's a floating point.
So that's about one the addy right now if I go on to the one the array let me go to two dimensional.
So sorry for a one dimensional array itself.
How do we come to know what that one name is Larry I need to also print that dimension.
So hardware printed let me just print dimension print as I told you in the dot and them and I need to
pass what I need to pause at 8 and I will also print it out in them.
Sorry.
And this time I'll toss bumby right cool.
So it's dimension of it.
There's another way also to get that dimension.
So if I say print 8. you know there is something called 8..
If I did actually see them you can all set.
So this is by using a method of that class where you can access it with the object name.
This is with a class name you can access the function and name.
OK but you need to stick to the model with the model name that is some function calls a name in that
model in which you need to pass the object.
So there can be two ways.
So what is the object that it's a particular.
This is not a method by the way.
This is just a this is just an attribute or a property right.
So this is about this is about this is about one dime.
Let's have a look at a two dimensional array.
Of course you can you know you can of course do it well if you are creating a documentation problem
you can always say in own dimension off.
And that's always good whenever you're learning something for documentation.
So that's the reason why we use tribut right.
And dimension of.
Come in with our beat.
So this time it was going to put that so you can just put in an equal to or a colon and that's it.
So you can also say this you can.
This is also another way of printing dimension of NRD.
Right now let's go on for.
So this is a one new Yadi.
Then we did a zero re-adding.
Now we go one for two and multidimensionality right.
So let me just say two and multidimensional drame lockdown.
So that's so that's about when we have more than more than one list and it we're going to see how to
define them to win multidimensionality.
Right so I'm just going to get some more rate.
Wait a minute.
Yeah.
So I have quite some things to keep cool.
OK.
So let me say I was starting with this to be.
Now what do you do here.
I'll say azy.
So I'm going to say in the dot add it is equal to that adding.
And in this particular R-E this time instead of instead of just passing one list inside the list I'm
going to pass more or less inside the list I'm going to pulseless lists within the list.
So let's say one list to list three list three lists within a list.
So after this list I can just put an end to this list like implementer.
And this is your main list right.
Say a meanless closes up.
So in regionalist I'm going to put some markers let's say one come up to come a three four come if I
come on six seven eight nine right.
That's your end the ending.
And all I have to do is print Kapolei and print on dimension of say oh sorry dimension all day is all
I need to put them in.
Double code and say equal to or colon.
What is a dimensional way.
It's going to be a dot ended.
Right.
So all that of course we have
dimension of these two.
Can we have a 3D errand boy we can have a 3D rebut that's going to be very complicated.
Still if you wish to do it all I can do is I can just copy paste this.
And in another block and each of these each of them I'm going to put them in on each of these values
I'm going to put another list within the main list.
So it's going to be one.
Two is one of the elements in this list.
And of nano in this I'm gonna say call or fold so so this is going to be a bit
six come a seven.
I can keep putting the list within less within less.
Right.
So that's what I'm doing currently seven comma eight and nine.
Come on 10 within a major list.
Now if we see what's the type definition of a street because you have within you have a big list right.
So this is your major list the bigger list this year.
So what I can do is let me just make a classifications out here.
So this is your this is your huge debt.
Right.
And then you have inside this there are going to be tulis.
Correct.
And so that's that's the same pattern for all of them.
So here we have one in here you have another and we have one here and there and then closing up with
this list and then closing up with this list.
Right.
So you can have a look.
So this is a bigger issue.
Q Is this one right.
There's a huge list.
And in that there is another list.
And in this list there's a third list.
So you have three d addy's out to you.
So that's a dimension of eight.
That's about three so you can you can probably understand how we go to go deeper and deeper and deeper
and deeper.
So that's about a treaty.
OK.
Now no let's think about this is about that dimension.
What about the shape of the.
Let's have a look at how how shape it would work out and stuff like that.