1 00:00:00,840 --> 00:00:05,040 All right, so hello, guys, and welcome back to the class of our course about the complete introduction 2 00:00:05,040 --> 00:00:06,550 to the science. 3 00:00:06,990 --> 00:00:13,650 So basically, until now, you guys should have your bye charm techs that are ready with the all with 4 00:00:13,860 --> 00:00:17,430 the non-pay feature on your project. 5 00:00:18,030 --> 00:00:23,070 So basically, right now, it's time for us to start learning how no words. 6 00:00:23,640 --> 00:00:24,320 So pretty simple. 7 00:00:24,330 --> 00:00:29,760 The first thing that we want to do is simply import the feature inside of our project. 8 00:00:30,090 --> 00:00:31,880 So how do we do this exactly? 9 00:00:31,890 --> 00:00:37,250 It's pretty much the same as if you want to import the features inside of our project. 10 00:00:37,650 --> 00:00:40,230 So we will start by writing down import. 11 00:00:40,380 --> 00:00:49,900 So import then what we want to import, we want to import numbers as worked so that as feature. 12 00:00:49,920 --> 00:00:56,640 So here we need to select something and each time we'll write down this argument, it's going to be 13 00:00:56,640 --> 00:00:58,540 referred to number by feature. 14 00:00:58,570 --> 00:01:02,880 So in this case, let's say it's going to be ENPI because non-pay is ENPI. 15 00:01:04,590 --> 00:01:11,250 So right now with this line of code right here, we have imported nonpaid features to our project. 16 00:01:12,300 --> 00:01:13,080 From this moment. 17 00:01:13,080 --> 00:01:15,530 What we'll learn in the Squiz is pretty simple. 18 00:01:15,540 --> 00:01:20,940 So we'll learn to write down one dimensional areas and to them in two dimensional areas. 19 00:01:21,270 --> 00:01:27,060 And at the end we will see how we can add them, make an addition of those areas together. 20 00:01:27,990 --> 00:01:28,850 So pretty simple. 21 00:01:29,040 --> 00:01:31,220 How exactly do you write down an area? 22 00:01:32,370 --> 00:01:35,710 So a one dimensional area is pretty simple to write. 23 00:01:35,970 --> 00:01:40,320 So the first thing we need to create is a variable where we will store our area. 24 00:01:40,680 --> 00:01:43,470 So in this case, our variable could be anything you guys want. 25 00:01:44,250 --> 00:01:46,910 Let's call it a R-1. 26 00:01:46,920 --> 00:01:48,400 So variable one. 27 00:01:49,230 --> 00:01:49,980 So pretty simple. 28 00:01:49,990 --> 00:01:52,260 So we are one equals two. 29 00:01:52,260 --> 00:01:54,100 What equals two and three. 30 00:01:54,150 --> 00:01:59,940 So we refer to a number function in this case or number, not by feature, which is error. 31 00:02:01,230 --> 00:02:07,990 So we refer to in by feature, which is are we open up our brand thesis and we write down our area. 32 00:02:08,400 --> 00:02:13,750 So let's say for the purpose of this example, we'll write down an area that is composed of even numbers. 33 00:02:14,340 --> 00:02:15,360 So pretty simple. 34 00:02:16,080 --> 00:02:19,470 We open up those parenthesis and then we can write down our area. 35 00:02:19,500 --> 00:02:21,230 So it's going to be two, four, six. 36 00:02:21,240 --> 00:02:24,210 So not something that is complicated, something pretty simple. 37 00:02:25,860 --> 00:02:28,510 So right now we have created our one dimensional area. 38 00:02:28,520 --> 00:02:30,630 So as you can see, there is just one line. 39 00:02:30,630 --> 00:02:32,070 It's a one area. 40 00:02:32,640 --> 00:02:37,750 So right now, what we want to do, we want to generate this area inside of our terminal right here. 41 00:02:38,010 --> 00:02:43,430 So pretty simple will simply run this well, this really basic app, which is an area. 42 00:02:43,740 --> 00:02:49,980 So we want to print the eight hour one and then it's simple. 43 00:02:49,980 --> 00:02:51,450 We just run the project. 44 00:02:51,720 --> 00:02:55,480 And as you can see, we have our area that is printed right here. 45 00:02:55,500 --> 00:02:57,060 So two, four and six. 46 00:02:58,080 --> 00:03:00,450 So this is how we create a one dimensional area. 47 00:03:00,720 --> 00:03:03,950 So right now, let's say we want to create a two dimensional area. 48 00:03:04,260 --> 00:03:05,820 So how exactly this works. 49 00:03:06,250 --> 00:03:07,380 So it's pretty simple. 50 00:03:07,380 --> 00:03:09,720 We just need to modify our error rate. 51 00:03:10,050 --> 00:03:16,290 So let's say I want to create a two dimensional area that has even numbers and numbers integrated in 52 00:03:16,290 --> 00:03:16,390 it. 53 00:03:16,830 --> 00:03:18,810 So pretty simple how this would work. 54 00:03:21,420 --> 00:03:24,960 So first of all, we keep those parenthesis right here. 55 00:03:25,200 --> 00:03:26,870 We keep our numbers right here. 56 00:03:27,040 --> 00:03:28,530 Want to integrate right now? 57 00:03:28,530 --> 00:03:29,060 It's pretty simple. 58 00:03:29,070 --> 00:03:33,490 So we'll just delete everything we have right here and add a parenthesis. 59 00:03:33,960 --> 00:03:36,550 So from this moment, we want to write down our numbers. 60 00:03:36,570 --> 00:03:39,740 So let's say is going to be two, four and six. 61 00:03:41,010 --> 00:03:42,780 We close our first parenthesis. 62 00:03:44,450 --> 00:03:54,830 A comma and are saying it would be in this case, one, three and five, so we have even numbers as 63 00:03:54,830 --> 00:03:59,010 well as other numbers when it's done simply because close all your parenthesis. 64 00:03:59,210 --> 00:04:03,170 So in this case, we have all those parenthesis and our function is ready. 65 00:04:03,200 --> 00:04:08,150 So basically what we can do right now, we have our to the area and what we can do, we can print it 66 00:04:08,450 --> 00:04:09,150 right now. 67 00:04:09,170 --> 00:04:10,010 So pretty simple. 68 00:04:10,010 --> 00:04:11,540 Just run your app. 69 00:04:11,690 --> 00:04:13,010 And as you can see, you have your two. 70 00:04:13,010 --> 00:04:14,670 These are right here. 71 00:04:14,960 --> 00:04:16,670 So it should look something like this. 72 00:04:17,600 --> 00:04:17,990 All right. 73 00:04:18,350 --> 00:04:23,180 So next thing that we are going to learn today is how to make an addition of Paris so pretty. 74 00:04:23,550 --> 00:04:26,120 So how exactly will make an addition in Python? 75 00:04:26,150 --> 00:04:27,500 So basically, it's pretty simple. 76 00:04:28,010 --> 00:04:28,970 You can addition. 77 00:04:29,940 --> 00:04:31,150 Well, you can audition numbers. 78 00:04:31,610 --> 00:04:35,440 So basically eyes are a set of numbers so you can make an addition of them. 79 00:04:35,750 --> 00:04:36,950 But before what? 80 00:04:36,950 --> 00:04:43,680 We can audition them in the form of Iris, but you can audition them inside of variables as well. 81 00:04:44,030 --> 00:04:51,420 So what we'll do right now, we'll create a second variable where we are going to store our iris so 82 00:04:51,440 --> 00:04:53,780 well, where we are going to store another area. 83 00:04:54,080 --> 00:04:54,890 So pretty simple. 84 00:04:55,010 --> 00:04:55,770 Just write down. 85 00:04:55,780 --> 00:04:58,730 These are two equal. 86 00:04:59,630 --> 00:05:05,960 And in this case, instead of writing down the same thing, once again, we are just going to copy everything 87 00:05:05,960 --> 00:05:08,140 right here and passed it down there. 88 00:05:08,690 --> 00:05:10,330 So we have the exact same thing. 89 00:05:10,910 --> 00:05:14,420 And what we will do is simply additions those two areas together. 90 00:05:14,450 --> 00:05:15,410 So pretty simple. 91 00:05:15,410 --> 00:05:24,310 Just write down the print and additions are one and are two. 92 00:05:24,860 --> 00:05:25,600 So it's pretty simple. 93 00:05:25,610 --> 00:05:26,720 What we are doing right now. 94 00:05:26,720 --> 00:05:32,740 We are just auditioning Iris and you will see right here would be the addition of those areas. 95 00:05:33,320 --> 00:05:39,410 So basically the result of the addition test can see right here, it gave us the result, which is for 96 00:05:39,410 --> 00:05:41,180 a 12 to six. 97 00:05:41,180 --> 00:05:45,890 And then so basically what it does, it's simply addition the iris together. 98 00:05:45,920 --> 00:05:48,750 So this is the basics of linear algebra. 99 00:05:49,640 --> 00:05:56,240 So right now, you guys have learned how important Vampi as well to add numbers to your Python project, 100 00:05:56,240 --> 00:05:58,090 to use a number of features to your project. 101 00:05:58,760 --> 00:06:04,640 You learn how to create errors and you learn how to create one the into the errors and you learn how 102 00:06:04,640 --> 00:06:09,960 to make additions and other types of of things with your eye. 103 00:06:10,730 --> 00:06:11,870 So that's it for this class, guys. 104 00:06:11,870 --> 00:06:14,270 And see all in our next class.