Hello, everyone, and welcome to this tutorial.
In this tutorial, we will loan numpty at ease.
Let us begin with the basics.
The number we added comes into two flavors, one dimensional vectors and two dimensional matrices.
In simple words, they can be called as one dimensional edit and two dimensional arrays.
Let us first create an one dimensional at a.
Input.
B.
As ENPI execute.
Great.
We will create a name be added from a python object like list.
So define a list.
My list numbers from one to for you, then print.
My list.
Execute.
Great.
These are the elements in this list.
Numbers from one to four, you to create a number, add A type and B dot every.
And in parentheses, my list.
Execute.
So this is the one damage nail, Eddie.
And we have created this one dimensional error using this list.
We can store this in a variable.
Also, copy.
Define a variable, a r r is equal to based execute.
Now, take this variable.
One damaged nil, Eddie.
So this way we can create.
And one damage still at a.
Let us understand how to create to damage nil.
Eddie.
Define a variable.
My metrics.
That is my mad is equal to define a list of lists.
One, two, three, four, five, six.
Seven, eight, nine, execute.
Now, take this variable, my mad great, a list of lists.
No, we can create a two dimensional at a pipe and B dot at A.
And in parentheses variable my mad execute.
So this is a two dimensional array in damage.
I'll add a you can see two sets of square brackets.
These two sets, one set at distracting and one set at the ending.
So this is a two dimensional eddy.
No check.
One dimensional array.
Only one set.
So this is how we can create a two dimensional at a.
Latest revised Adibi basics for to be well understood how to create a one dimensional eddy, to create
one dimensional a how to use this method dot at a method.
And we can use the same method to create a two dimensional array dot at a method.
So despite total about adding basics NCEA I will see you in the next one.
buildOn Happy learning.