1 00:00:00,450 --> 00:00:05,970 Not much time to talk about the Matrix, but actually The Matrix is something like the list, but it 2 00:00:05,980 --> 00:00:10,560 is sometimes called Arae or multidimensional array or something like that. 3 00:00:10,920 --> 00:00:15,640 Got some programming languages like the C++ or C C Charbroil. 4 00:00:15,870 --> 00:00:22,050 I think Java itself also used the concept or the term eRate not list. 5 00:00:22,080 --> 00:00:28,110 OK, but anyway, they are the same sometimes in a lot of cases or a lot of things. 6 00:00:28,740 --> 00:00:31,770 Just naming nothing, no big deal. 7 00:00:32,220 --> 00:00:34,920 OK, so let's put this matrix. 8 00:00:36,550 --> 00:00:38,620 To create it now, I open a brackets. 9 00:00:38,650 --> 00:00:43,740 Square brackets, but this time I will put brackets like this. 10 00:00:43,750 --> 00:00:49,720 So put this and put this and this, put this OK as well. 11 00:00:51,000 --> 00:00:56,290 Now, I know you may get confused, but follow me for now and I will explain everything indicates so 12 00:00:56,310 --> 00:01:03,300 one, two, three, and here about four, five, six and about. 13 00:01:04,640 --> 00:01:05,660 Seven, eight, nine. 14 00:01:05,840 --> 00:01:06,920 All right, OK. 15 00:01:07,400 --> 00:01:11,360 No, I want to print some values from here, right? 16 00:01:11,600 --> 00:01:13,200 Yes, this is what they're all about. 17 00:01:13,550 --> 00:01:17,630 So, Brent, using the print function now, I will use the Matrix. 18 00:01:17,990 --> 00:01:19,150 So far, so good, right? 19 00:01:19,400 --> 00:01:20,150 Nothing new. 20 00:01:20,450 --> 00:01:26,000 Now, this is the new things that have been added here, which is using two brackets. 21 00:01:27,030 --> 00:01:27,990 Two square brackets? 22 00:01:28,020 --> 00:01:34,450 No, actually, it's very simple, just imagine with me now, this is the first line. 23 00:01:34,710 --> 00:01:37,200 This is the second line. 24 00:01:37,560 --> 00:01:39,090 And this is the third line. 25 00:01:40,540 --> 00:01:41,830 Do you get it or not? 26 00:01:42,430 --> 00:01:51,580 Yeah, actually, you are right, this is zero and this is one and this is to OK, no inside zero. 27 00:01:53,390 --> 00:01:55,070 Which is this one, we have zero. 28 00:01:56,080 --> 00:01:58,460 One, two, OK. 29 00:01:58,930 --> 00:02:03,940 I mean, as an index, I mean, don't get confused between the numbers, so actually it's better to 30 00:02:04,090 --> 00:02:07,110 use A, B, C, yeah, actually like this. 31 00:02:07,420 --> 00:02:10,690 So I want from the first line, which is zero. 32 00:02:11,250 --> 00:02:17,700 OK, the first sequence or the first list, which is zero, I want to be OK. 33 00:02:17,710 --> 00:02:19,270 So which is zero one. 34 00:02:19,600 --> 00:02:20,630 So I would put one. 35 00:02:20,890 --> 00:02:22,750 So this will bring the B character. 36 00:02:23,080 --> 00:02:24,990 Let's check this out from here. 37 00:02:25,030 --> 00:02:27,030 You can see that it is not defined. 38 00:02:27,280 --> 00:02:27,690 All right. 39 00:02:28,300 --> 00:02:29,590 Do you know why this happened? 40 00:02:31,140 --> 00:02:37,770 Yeah, because because actually, I bought it as a rate as a variable is actually not as a value, so 41 00:02:37,770 --> 00:02:42,960 I need to provide that single quotation or the double quotation, by the way, because I want it to 42 00:02:42,960 --> 00:02:45,130 be as a character, not as a variable. 43 00:02:45,330 --> 00:02:49,250 So if I don't put that, actually, it will be considered as a variable. 44 00:02:50,370 --> 00:02:57,340 And actually, it is good that happened and we see we saw that by practice, that we need to be careful. 45 00:02:57,810 --> 00:02:58,060 OK. 46 00:02:58,440 --> 00:02:58,860 All right. 47 00:02:58,860 --> 00:03:00,450 Now let's check what would happen. 48 00:03:01,690 --> 00:03:03,010 Let's clear the screen first. 49 00:03:04,220 --> 00:03:07,280 And here you can see that we print the. 50 00:03:08,540 --> 00:03:17,480 And this is the same thing, if you want to print a so, for example, you want to print BNC, so you 51 00:03:17,480 --> 00:03:21,730 will vote here, quote on quote, I like this and you want it. 52 00:03:22,010 --> 00:03:23,320 So zero one two. 53 00:03:23,600 --> 00:03:26,300 So it will be three Y equals three minus one. 54 00:03:26,450 --> 00:03:28,550 Equal two, which is zero one two. 55 00:03:28,670 --> 00:03:31,400 So B and C, this would print B and C. 56 00:03:31,850 --> 00:03:33,170 Let's check this out actually. 57 00:03:35,520 --> 00:03:43,240 Yeah, you can see that it is now BNC, what actually the Matrix and these cases is very complex and 58 00:03:43,500 --> 00:03:44,090 subject. 59 00:03:44,460 --> 00:03:51,240 So actually you can use that for the screen boxes or using image processing and a lot of things, actually 60 00:03:51,900 --> 00:03:52,680 deep learning. 61 00:03:52,740 --> 00:03:59,730 And but in this case, we don't need to handle that in detail because after all, we are writing an 62 00:03:59,730 --> 00:04:04,500 ethical hacking tools, not something for A.I. or data sets. 63 00:04:04,530 --> 00:04:05,970 OK, thanks for watching.