WEBVTT 00:00.750 --> 00:07.770 Come back to new lecture in this little note to talk about our producing Python so the general program 00:07.770 --> 00:12.420 is to accept some day to perform some operation and good reason. 00:12.660 --> 00:16.600 So by performing some operation you might store the door. 00:16.680 --> 00:23.810 We might do some calculation you might to some competition you might apply some condition and then to 00:23.930 --> 00:24.710 the razor. 00:24.960 --> 00:29.420 So the next question is how to perform operations on our radar. 00:29.430 --> 00:32.590 For example when a programmer wants to act to normal. 00:32.790 --> 00:40.480 Maybe he just want to add X and Y so that can be done with the help of class status symbol and this 00:40.480 --> 00:43.470 symbol of the engine operation. 00:43.510 --> 00:45.880 So symbols are known as operators. 00:45.930 --> 00:47.840 So let us now understand. 00:47.940 --> 00:51.480 Different type of operators and how to utilize them. 00:51.480 --> 00:57.930 So if I need to divide them operators and could type the automatic operator the assignment operators 00:58.200 --> 01:04.950 we have unity minus or Priddle relation operators and logical operators and the last one is boolean 01:04.950 --> 01:05.790 operators. 01:05.850 --> 01:09.410 So these are the type of operators and we can understand it. 01:09.460 --> 01:10.260 On my one. 01:10.440 --> 01:17.040 So as you know with automatic you already understand it can be something related to plus minus. 01:17.070 --> 01:23.400 That is an instance of traction maybe some multiplication division and something related to that. 01:23.520 --> 01:27.660 So it does perform that and get understanding of automatic operators. 01:27.780 --> 01:33.490 So I simply take the most serious time and be as 5. 01:33.690 --> 01:35.340 That would be easy for us. 01:35.350 --> 01:39.010 And if I want to perform some operation maybe EBAs be. 01:39.030 --> 01:44.850 So all I have to do is either store them in a separate variable or radically print them so I can do 01:44.850 --> 01:45.380 that. 01:45.410 --> 01:52.250 If a.p and Herrig aren't my razor and if I tried to Barhoum some traction I can do the same. 01:52.260 --> 01:58.740 I have a blue a minus B and that's only got the result and whatever you want to try out Altamonte location 01:59.070 --> 02:01.500 led us to a marked decline. 02:01.510 --> 02:03.870 I'd be asking the user. 02:04.050 --> 02:07.900 Ok that works easy but whatever you want to move the region. 02:08.160 --> 02:12.270 Let us walk on the same air if you notice you are getting a point. 02:12.510 --> 02:16.020 And for all the results you are getting exact in digit. 02:16.050 --> 02:18.430 But here we are getting onto the asphalt. 02:18.540 --> 02:23.690 That is because if we divide something we get our result in two flawed manner. 02:23.790 --> 02:25.520 It can be some different value. 02:25.590 --> 02:31.240 If I have taken not the exact arms like 10 and 5 because they are equally divisible. 02:31.360 --> 02:38.740 Let me take two values equal to square and then B was 2 5 and then perform the same puerperal in time. 02:38.750 --> 02:41.990 So it is true that none can see again on the floor. 02:42.010 --> 02:44.080 Value by just 2.4. 02:44.190 --> 02:49.180 So that is the reason whenever you try to do something you will get your answer into flawed. 02:49.350 --> 02:56.990 But what if I want that in into integer only so I can convert that into India using I in the function 02:57.540 --> 03:00.760 or either I can use stuff for division matter. 03:00.930 --> 03:08.370 So while dividing I can use this double slash and then B and if I bring that you can see I got the flu 03:08.370 --> 03:16.050 function which is if I have the onset of 2.4 26 to claim it I will get the result of the fluid value. 03:16.050 --> 03:17.860 That is if it is 2.8. 03:17.880 --> 03:19.700 I will get the value of 2. 03:19.920 --> 03:22.020 So it is up in value now. 03:22.460 --> 03:28.450 And the two things that I want to talk about this model operate are on the exponent operator. 03:28.680 --> 03:30.770 So what is more units operator. 03:30.830 --> 03:39.370 Let us do that also if I have it and I use more deals and b I get a result of two. 03:39.480 --> 03:42.630 So it basically gives you the remainder. 03:42.840 --> 03:52.830 So here I have two instead of if I hire it as 13 and if I tried to perform the same I would have got 03:52.830 --> 03:54.210 the result as tree. 03:54.270 --> 03:55.950 I can see I got three. 03:55.950 --> 04:00.140 That's because more operator returns the remainder after division. 04:00.330 --> 04:05.230 So the last thing that we need with or 24 is xponent operator. 04:05.550 --> 04:09.400 When I want to do something with Paulose you use exponent. 04:09.410 --> 04:13.920 Operator So suppose you want to do a Q Will do so Wadlow will include. 04:13.920 --> 04:16.910 You might use a and then you can do. 04:16.910 --> 04:19.520 As to my reply to my reply to. 04:19.560 --> 04:20.520 That's great. 04:20.520 --> 04:26.550 Now get out of print night and you will get the correct answer for shop and we got it. 04:26.610 --> 04:32.880 Or if you need to do to do the power off then or some bigger number. 04:32.970 --> 04:36.750 You cannot tried to multiply to 10 times. 04:36.900 --> 04:44.340 So instead of that what we can do is we can take to the as strict sign and the power that we want to 04:44.340 --> 04:44.740 give. 04:44.940 --> 04:52.510 If I need to get the power of cube I can do that and then I can print with a. 04:52.580 --> 04:56.150 Basically if I want to get the power then I can do the same. 04:56.150 --> 04:59.330 I can just use a. 04:59.500 --> 05:02.330 So I hope you understand the exponent operator. 05:02.570 --> 05:04.910 Now we are done with Artomatic operators. 05:05.090 --> 05:11.360 We need to talk about the assignment operator us so these operators use for the store the right side 05:11.360 --> 05:14.060 value in do let's say variable. 05:14.210 --> 05:21.280 So as I don't have a diagonal so this is the right side value and these are storing into leftside value 05:21.290 --> 05:28.800 that is so variable and so they can be used to perform simple Artomatic operation like Edison substraction 05:29.150 --> 05:31.850 and also store the values into a table. 05:31.970 --> 05:37.350 So the first one that I need to talk about is equal is to see if I take an example here. 05:37.550 --> 05:43.350 Let me take away your x and y as 20. 05:43.510 --> 05:48.850 In basic word the assignment operator does store the value from Lipsyte to label. 05:48.920 --> 05:54.730 Here if I use some Artomatic operator along with the assignment operator how we can get some results 05:54.750 --> 05:59.090 like if I said as x y. 05:59.120 --> 06:05.300 Here I am using plus that is Irish and symbolize Artomatic operator and equal to symbolize assignment 06:05.300 --> 06:10.920 operator and if I print this particular said you will get the result of typee. 06:11.030 --> 06:15.260 But if I need to go home edition of the data itself and install the value. 06:15.410 --> 06:20.560 So what I'm saying is I need to perform said equal to say class X. 06:20.600 --> 06:23.120 So how can I do that and unsharp down. 06:23.150 --> 06:30.770 That means if I'm taking this the same value is now Turby and x values and so the result will be of 06:30.770 --> 06:31.930 course 40. 06:32.170 --> 06:36.150 So let me bring that up so we can remember what I have strength Lew. 06:36.260 --> 06:39.510 I was trying to Bouzid Leslye in simple terms. 06:39.530 --> 06:46.530 So if I need to store this value in data itself what I have to do is Zaarly equals to the last x. 06:46.700 --> 06:54.110 So what I can do is I can use a sharp curve that is say less equals to X so this will perform the same 06:54.200 --> 06:57.170 as it was to the place x. 06:57.320 --> 07:02.830 If I now Green Zone you will get the same result as 40. 07:03.000 --> 07:04.730 So we have done this for addition. 07:04.770 --> 07:09.330 And what if I need to go home as close to zero minus x. 07:09.330 --> 07:18.510 Same thing I need to do that I want I can do is zero minus equals to X and if I print the value of zero 07:18.610 --> 07:19.820 you will get the same thing. 07:19.830 --> 07:22.540 That is the subtraction of x. 07:22.860 --> 07:28.900 Now there are a few things that you've been doing going onto a home for division morbillivirus explained. 07:29.070 --> 07:33.190 And also for division and they were Warsame. 07:33.330 --> 07:36.140 So if I take an example read division. 07:36.240 --> 07:44.780 So that means it is going to be very close to said Divide by x that is for home. 07:44.880 --> 07:49.080 And that is from the brain said you got 3.0. 07:49.220 --> 07:54.510 We just Tochigi like by then we'll get in that school you can play with that. 07:54.560 --> 08:00.230 I hope by now you understand what is Artomatic OPERATOR What is OPERATOR What is assignment operator. 08:00.430 --> 08:06.290 And the next decade we're talking about unity minus relational pre-done logical operator and boolean 08:06.290 --> 08:07.510 operators.