All right, so hello, guys, and welcome back to the class of our course about the complete introduction
to the science.
So basically, until now, you guys should have your bye charm techs that are ready with the all with
the non-pay feature on your project.
So basically, right now, it's time for us to start learning how no words.
So pretty simple.
The first thing that we want to do is simply import the feature inside of our project.
So how do we do this exactly?
It's pretty much the same as if you want to import the features inside of our project.
So we will start by writing down import.
So import then what we want to import, we want to import numbers as worked so that as feature.
So here we need to select something and each time we'll write down this argument, it's going to be
referred to number by feature.
So in this case, let's say it's going to be ENPI because non-pay is ENPI.
So right now with this line of code right here, we have imported nonpaid features to our project.
From this moment.
What we'll learn in the Squiz is pretty simple.
So we'll learn to write down one dimensional areas and to them in two dimensional areas.
And at the end we will see how we can add them, make an addition of those areas together.
So pretty simple.
How exactly do you write down an area?
So a one dimensional area is pretty simple to write.
So the first thing we need to create is a variable where we will store our area.
So in this case, our variable could be anything you guys want.
Let's call it a R-1.
So variable one.
So pretty simple.
So we are one equals two.
What equals two and three.
So we refer to a number function in this case or number, not by feature, which is error.
So we refer to in by feature, which is are we open up our brand thesis and we write down our area.
So let's say for the purpose of this example, we'll write down an area that is composed of even numbers.
So pretty simple.
We open up those parenthesis and then we can write down our area.
So it's going to be two, four, six.
So not something that is complicated, something pretty simple.
So right now we have created our one dimensional area.
So as you can see, there is just one line.
It's a one area.
So right now, what we want to do, we want to generate this area inside of our terminal right here.
So pretty simple will simply run this well, this really basic app, which is an area.
So we want to print the eight hour one and then it's simple.
We just run the project.
And as you can see, we have our area that is printed right here.
So two, four and six.
So this is how we create a one dimensional area.
So right now, let's say we want to create a two dimensional area.
So how exactly this works.
So it's pretty simple.
We just need to modify our error rate.
So let's say I want to create a two dimensional area that has even numbers and numbers integrated in
it.
So pretty simple how this would work.
So first of all, we keep those parenthesis right here.
We keep our numbers right here.
Want to integrate right now?
It's pretty simple.
So we'll just delete everything we have right here and add a parenthesis.
So from this moment, we want to write down our numbers.
So let's say is going to be two, four and six.
We close our first parenthesis.
A comma and are saying it would be in this case, one, three and five, so we have even numbers as
well as other numbers when it's done simply because close all your parenthesis.
So in this case, we have all those parenthesis and our function is ready.
So basically what we can do right now, we have our to the area and what we can do, we can print it
right now.
So pretty simple.
Just run your app.
And as you can see, you have your two.
These are right here.
So it should look something like this.
All right.
So next thing that we are going to learn today is how to make an addition of Paris so pretty.
So how exactly will make an addition in Python?
So basically, it's pretty simple.
You can addition.
Well, you can audition numbers.
So basically eyes are a set of numbers so you can make an addition of them.
But before what?
We can audition them in the form of Iris, but you can audition them inside of variables as well.
So what we'll do right now, we'll create a second variable where we are going to store our iris so
well, where we are going to store another area.
So pretty simple.
Just write down.
These are two equal.
And in this case, instead of writing down the same thing, once again, we are just going to copy everything
right here and passed it down there.
So we have the exact same thing.
And what we will do is simply additions those two areas together.
So pretty simple.
Just write down the print and additions are one and are two.
So it's pretty simple.
What we are doing right now.
We are just auditioning Iris and you will see right here would be the addition of those areas.
So basically the result of the addition test can see right here, it gave us the result, which is for
a 12 to six.
And then so basically what it does, it's simply addition the iris together.
So this is the basics of linear algebra.
So right now, you guys have learned how important Vampi as well to add numbers to your Python project,
to use a number of features to your project.
You learn how to create errors and you learn how to create one the into the errors and you learn how
to make additions and other types of of things with your eye.
So that's it for this class, guys.
And see all in our next class.