WEBVTT

00:00.330 --> 00:07.680
We can also create multiple areas where you just want you know let's let's say many times you just want

00:07.680 --> 00:13.420
to create Hailes and keep which is just consist of just empty values.

00:13.470 --> 00:16.540
Some values like zeroes or ones or something like that.

00:16.660 --> 00:18.580
OK then how to weigh.

00:18.660 --> 00:19.870
How do they do it.

00:20.220 --> 00:20.740
OK.

00:20.850 --> 00:24.240
So I can do that when by saying something like that.

00:24.250 --> 00:32.970
So I just put it as a month down a tear and I'll say Arie's of ones and zeros.

00:33.270 --> 00:40.930
So solitaries of ones and zeroes and whoops I need to create This is ALL.

00:42.810 --> 00:43.600
Make it smaller.

00:43.780 --> 00:51.880
Hoyts So that's about ideas and ones and zeroes and then I say of course important umpires and T and

00:52.800 --> 00:53.580
what do I do.

00:53.610 --> 00:58.210
I can create an idea of all ones and you say Oh.

00:58.230 --> 01:05.480
Capital always equal to any dot dot once.

01:06.030 --> 01:07.290
But once

01:10.500 --> 01:13.180
I want I just need to see the shape in a top.

01:13.200 --> 01:14.620
I need to keep the shape in the top.

01:14.850 --> 01:19.990
How do get the shape in the top let's say I just want to come up three let's print out.

01:20.110 --> 01:26.710
So if I print right so I'm going to print 0 shift into.

01:26.710 --> 01:29.830
So can you see it is filled with all ones.

01:29.840 --> 01:31.600
But it's a floating point number.

01:31.650 --> 01:42.130
If you want it to be a you know all of you know normal decimals I would say type equal to integer.

01:42.190 --> 01:48.130
So if I say that then you have an out of shape to come in threes to those three columns.

01:48.130 --> 01:52.110
If I say to come a 10.

01:52.600 --> 02:00.280
I have cuttingly all once addy's of all ones I can have an Olly's of all zeroes saying as Ed is equal

02:00.280 --> 02:04.060
to the DOT zeros.

02:04.150 --> 02:09.670
And let me say one something like 10 or 15 right.

02:10.060 --> 02:15.020
And of course I need to bring it up and let's say I print.

02:15.480 --> 02:16.760
Ken Woolsey.

02:17.200 --> 02:18.180
There we are again.

02:18.190 --> 02:22.890
You have a floating point you can again make it as decimal by saying said.

02:22.900 --> 02:23.500
Come on.

02:23.500 --> 02:25.660
Sorry zeros.

02:25.740 --> 02:28.880
Here I can say Comedie type equal to integer.

02:29.050 --> 02:32.500
Otherwise Firefall that takes it as a floating point number.

02:32.890 --> 02:35.670
So you're you have addy's of ones and zeroes.

02:35.670 --> 02:38.600
Now where can we use this particular.

02:38.760 --> 02:45.160
You know let me give you a question I can maybe you can maybe you can you won't be able to figure out

02:45.340 --> 02:49.160
how this can be done and how we will be able to do stuff.

02:49.220 --> 02:56.030
OK so let me just say oh here instead of here let me just make this a markdown.

02:56.040 --> 02:57.050
What was that.

02:57.070 --> 02:57.850
Sorry.

02:59.290 --> 03:01.220
So that's going to be OK.

03:01.230 --> 03:02.070
Forget it.

03:02.290 --> 03:04.740
I'll put it up the somewhere else.

03:04.770 --> 03:05.860
It's not to be seen.

03:06.130 --> 03:13.380
So we can put this amount down and then let's say the question is I'm going to give you a question.

03:13.450 --> 03:13.860
OK.

03:13.870 --> 03:16.410
So forget about the hashtags out there.

03:16.460 --> 03:29.140
So I'm going to put a question saying let's say the question is take the shape of an NRT from the user.

03:29.680 --> 03:33.590
Which means he's going to give you the shape as in a string.

03:33.970 --> 03:50.000
So we need to take that from the user and then and and then create create and create and carry off that

03:50.150 --> 03:51.170
particular shape

03:54.980 --> 04:09.290
with each element having the value which will be equal to whatever is the whatever whatever is the column

04:09.290 --> 04:16.990
number multiplied multiplied by the real number the value of each.

04:17.450 --> 04:24.700
The value of each element in this particular will be equal to the column number multiplied by the rule

04:24.770 --> 04:27.910
number multiplied by on them.

04:27.950 --> 04:29.190
So how do I.

04:29.420 --> 04:30.840
So let's say for example.

04:30.840 --> 04:36.090
So if you want an example of this let's say for example use of says I won.

04:36.350 --> 04:43.290
He enters something like as he enters I won an array of five six.

04:43.520 --> 04:44.100
OK.

04:44.360 --> 04:47.520
Let's take a something smaller and then come ashore.

04:47.690 --> 04:53.290
Then what do I need to create and see which is going to be.

04:53.360 --> 04:58.140
Of course it's going to be 1 in that I'm going to have how many rows.

04:58.370 --> 05:03.870
Credos So three such lists something like this.

05:04.040 --> 05:09.830
And in each list I need to have four columns but the values are going to be column number multiplied

05:09.830 --> 05:10.350
version number.

05:10.350 --> 05:14.020
Now what does a call what is the real number for the first row.

05:14.540 --> 05:15.150
It is zero.

05:15.170 --> 05:16.410
So zero.

05:16.760 --> 05:21.300
So all four values will be zero because that is going to multiply by Z.

05:21.740 --> 05:29.810
But let me say it for the next element I would say over here instead of in the second row I can say

05:30.110 --> 05:31.770
what is the wrong number.

05:31.850 --> 05:32.800
It is 1.

05:32.810 --> 05:35.480
So what is the first column number.

05:35.590 --> 05:36.000
Here.

05:36.040 --> 05:39.710
Zero zero zero multiplied by one is zero.

05:39.710 --> 05:45.230
Then the card number becomes one and you multiply the rule number that is one that is one and cornerman

05:45.290 --> 05:50.560
becomes two and rule number is 1 0 1 0 1 0 2 3.

05:50.710 --> 05:55.070
Here to be rule number is to what column number again starts from zero.

05:55.070 --> 06:05.120
So you don't want to play great is 0 0 multiplied by 0 might be played by one or two multiplied by one

06:05.450 --> 06:10.020
to two multiplied by three is six.

06:10.340 --> 06:13.240
And two more to play before us.

06:13.730 --> 06:14.550
Right.

06:14.590 --> 06:15.340
OK.

06:15.350 --> 06:19.970
So this is about this is about the particular thing.

06:19.970 --> 06:29.480
So let's say let's say for example I would say here I can see enter and say I can just put up values

06:29.480 --> 06:30.200
out here.

06:30.320 --> 06:31.510
Let me say what is.

06:31.670 --> 06:35.430
Let me put the rule number corresponding to each of them so you can understand it better.

06:35.560 --> 06:38.010
Rule number two we're here to zero the rule number.

06:38.020 --> 06:39.190
Here is 1.

06:39.330 --> 06:43.800
And number two we hear two right and wrong.

06:43.880 --> 06:48.030
What is a column number for this zero come.

06:48.100 --> 06:55.870
What is the column number for this one comma to come up so that we can get surprised that it's a part

06:55.870 --> 06:57.920
of the.

06:58.330 --> 07:06.570
So there are three Usually we just give this much credos four columns you should create the number at

07:06.620 --> 07:12.180
a of the primary which will have elements which will have real numbers.

07:12.200 --> 07:16.440
So each element should have rule number multiplied by the call on the ceremony which was you know 0

07:16.520 --> 07:17.830
0 1 1 0.

07:17.880 --> 07:18.840
Listen to.

07:19.280 --> 07:25.700
This one will be one might read but zero zero one might apply but one is one one word 2 is 2 1 Malapert

07:25.710 --> 07:33.260
with least three two one zero zero zero to whatever we want is to 200 habitués and so on are able to

07:33.260 --> 07:36.400
understand this is how I want you to create.

07:36.830 --> 07:38.850
OK so this is just a question.

07:38.960 --> 07:40.440
How will you do that.

07:40.450 --> 07:40.940
Right.

07:41.000 --> 07:44.710
So we can do that by saying something like this.

07:44.720 --> 07:50.670
So let's say I really know I can I can do that.

07:50.690 --> 07:57.890
But then I would rather I would rather think that you know maybe you can try out all yourself by yourself

07:57.890 --> 08:01.280
by just putting up some for loop or something like that.

08:01.520 --> 08:02.370
Let's have a look.

08:02.560 --> 08:02.970
OK.

08:03.020 --> 08:08.620
But anyways if you still let me just put a comment out here let me put an answer.

08:08.690 --> 08:13.880
OK so I'll put an answer and let's say first of all I need to take from the user how will it take any

08:14.000 --> 08:15.020
input from the user.

08:15.020 --> 08:16.900
I'll take it to them input.

08:17.000 --> 08:25.360
Say enter the shakes now shaved off at the correct.

08:25.460 --> 08:32.930
So when I make the user to enter he will enter it as Zo you enter 3Com.

08:32.970 --> 08:37.840
Now how do we separate the stream of input always takes it as a string.

08:38.400 --> 08:38.970
OK.

08:38.970 --> 08:40.690
No this particular string.

08:40.740 --> 08:44.470
I have to split it to split the string wherever there is no comma.

08:44.580 --> 08:46.190
So this is the entire string.

08:46.290 --> 08:52.780
This particular string at the end but I'll split it by saying this dark split split that or whether

08:52.800 --> 08:54.270
is a comma.

08:54.270 --> 08:55.630
This will return to me.

08:55.980 --> 08:59.390
This will return to your list.

08:59.850 --> 09:00.300
OK.

09:00.480 --> 09:02.720
But little will to me.

09:02.760 --> 09:11.430
Let me just print the list and see what this does list what will you get are wrong because not.

09:11.500 --> 09:13.210
But this Front-End there's nothing.

09:13.240 --> 09:13.660
OK.
