WEBVTT 00:00.210 --> 00:03.430 So it was 9 it will become less and so you can. 00:03.460 --> 00:08.100 So this is called as an assignment operator now assignment operators can be. 00:08.100 --> 00:16.280 So that means this is the plus just the pluses of just the plus is an arithmetic operator. 00:16.290 --> 00:21.380 But when it is used along with an equal two together they become an assignment of it. 00:21.660 --> 00:29.430 So if I can if I do a mine is equal to two and if I print a it's going to be nine a multiplied equal 00:29.430 --> 00:35.020 to two it's going to be a Onto that's going to be 18. 00:35.260 --> 00:36.040 Correct. 00:36.490 --> 00:37.110 OK. 00:37.300 --> 00:44.830 A divided divided divided equal to two is going to be nine. 00:44.830 --> 00:52.690 Back again a modalists model is equal to two is going to be one. 00:52.690 --> 00:59.730 Because a model is to nine other students won the remainder after dividing by two has one hands. 00:59.800 --> 01:04.530 The remainder is going to be stored in a correct. 01:04.770 --> 01:06.460 Right. 01:06.660 --> 01:18.580 So you can use any of the any all the edits Dometic and the bitwise operators and bitwise operators 01:22.520 --> 01:26.380 long with. 01:26.390 --> 01:33.670 So any of the arithmetic and meaning or or or because that goes along with any he to 01:40.000 --> 01:44.590 swarming forming an assignment. 01:47.790 --> 01:48.390 Right. 01:51.310 --> 01:52.100 Cool. 01:52.340 --> 01:58.750 And hence we have the assignment operator which is just pre-dominant. 01:58.760 --> 01:59.150 All right. 01:59.150 --> 02:05.140 If I even do a left shift equal to two is going to be four. 02:05.150 --> 02:05.540 Why. 02:05.540 --> 02:15.470 Because it was one which means it was 0 0 0 0 0 0 0 1 and then after shifting it by two this one came 02:15.470 --> 02:16.730 here and here. 02:17.110 --> 02:17.500 OK. 02:17.510 --> 02:25.260 And the same value the new value got stored back into it and then it became for you know so you can 02:25.260 --> 02:27.840 use any of the added all the bitwise operators. 02:27.840 --> 02:32.650 So I just use the bitwise operator along with an equal to forming an assignment. 02:33.180 --> 02:34.080 All right. 02:34.080 --> 02:37.880 Just two more operators and we are done with operators there. 02:38.190 --> 02:38.710 OK. 02:38.850 --> 02:49.120 So operators let's say another operator that we have is called as them is Skoll as the membership operator 02:53.400 --> 02:55.160 scholars a membership up. 02:55.500 --> 02:58.380 Now what is the meaning of membership up. 02:58.850 --> 03:13.020 Let's say membership of Greedo is if I say that is a stream which is a word that is an S1 string which 03:13.020 --> 03:14.620 is which is. 03:14.810 --> 03:18.050 Hello OK. 03:18.170 --> 03:25.150 That is an S2 string which is a hell with a capital which OK. 03:25.420 --> 03:33.200 Now membership operator is given by this particular key word called as in. 03:33.310 --> 03:38.890 So this is a check if somebody or an object is a member of another. 03:39.100 --> 03:41.740 Or if it belongs to another object so I can check. 03:41.890 --> 03:49.710 I can see as one is it dead in s s one that an s say is false. 03:49.720 --> 03:50.350 OK. 03:50.410 --> 04:01.250 No worries if I say one non-thing as including the in I'm saying in along with a logical operator not 04:02.100 --> 04:02.460 right. 04:02.470 --> 04:09.130 If you remember the logical operator or not and then I say S1 not unless it says true. 04:09.400 --> 04:13.270 Correct because this will not do this but if I say why. 04:13.270 --> 04:17.670 Because the actual way you are to small and the actual you're skeptical. 04:17.680 --> 04:23.330 So this halo does not belong to the string because it is a sense. 04:23.430 --> 04:28.060 But what if I see S2 10 s it is true. 04:28.110 --> 04:28.560 Why. 04:28.560 --> 04:34.020 Because S2 hello is a capital H and that is exactly that m s2. 04:34.320 --> 04:40.120 If I say S2 oddness you will say sorry sorry it's false. 04:40.710 --> 04:43.480 So you have membership operators out here. 04:43.740 --> 04:44.590 All right. 04:44.760 --> 04:51.280 The last operator that we're going to have a look is the identity OPERATOR OK. 04:51.420 --> 04:59.690 The identity operator and the identity operator is called as is defined with the keyword is. 05:00.170 --> 05:00.960 OK. 05:01.230 --> 05:06.170 Is what exactly this does. 05:06.200 --> 05:10.690 Let's say fighting is equal to 4 B's equal to 4. 05:11.080 --> 05:14.280 Both of them have an ID of a. 05:14.320 --> 05:15.770 And the idea of B. 05:15.790 --> 05:20.080 As I explained to you in variables one of them are going to have the same ID. 05:20.080 --> 05:24.540 Now you don't need to write the idea of an idea to check whether they both have the same right. 05:24.550 --> 05:36.590 You can check it with this A is B and so on that say true correct and A is not B. 05:36.760 --> 05:42.830 And if I say Enter it's false or not is now used often is in case of in. 05:42.940 --> 05:46.840 You have to put the knot before the end is not B. 05:46.900 --> 05:48.350 That's false. 05:48.400 --> 05:49.170 OK. 05:49.180 --> 05:53.590 And so both of them say that it's true. 05:53.590 --> 05:57.950 Now let's consider a string or two and we say a string is there. 05:57.970 --> 05:59.180 Hello. 05:59.200 --> 06:06.340 And there's another string as one is also equal to hello OK. 06:06.640 --> 06:16.020 Ideal is an ID ideal as one both of them are the same. 06:16.020 --> 06:18.550 Correct S is s one. 06:18.600 --> 06:19.380 No problem. 06:19.380 --> 06:20.770 It's true. 06:20.820 --> 06:30.090 Let's write a bigger word hello world and let's write a similarly bigger word which is exactly same 06:30.750 --> 06:33.780 and then use is is. 06:33.840 --> 06:36.000 S1 it says false. 06:36.000 --> 06:36.920 Why. 06:36.930 --> 06:43.260 Because the I don't have values or same idea of s an idea of S1. 06:43.260 --> 06:46.710 They both are different objects all together. 06:47.730 --> 06:49.160 Are the values same. 06:49.230 --> 06:53.510 Yes how do we check if the values are the same value of s and value. 06:53.510 --> 06:57.180 This one should be seen even though they have different references. 06:57.180 --> 07:01.750 How do I check that I can check that with s equal to equal. 07:01.760 --> 07:04.080 You want to check those values. 07:04.170 --> 07:06.090 I will use the equal to equal to. 07:06.170 --> 07:14.760 But to check back to check the references on the IDs I will do is hope this is very clear. 07:14.910 --> 07:25.050 All the operators from the start at that medtech combatives in logical bitwise assignment membership 07:25.470 --> 07:26.690 and identity. 07:26.850 --> 07:32.300 These operators are going to be used quite a lot in our list of the costs. 07:32.310 --> 07:32.730 Thank you.