WEBVTT 00:01.170 --> 00:08.490 Now we'll see operators and expressions most statements that we write contain expressions. 00:08.490 --> 00:16.600 A simple example of expression is two plus three an expression can be broken down and two operators 00:16.720 --> 00:28.770 and operators and this line let's sign is the operator while printers are two and three now instead 00:28.770 --> 00:31.430 of writing a new program we'll ever do it. 00:31.440 --> 00:43.680 The expressions use an interpreter like two plus three a center will have five similarly we have multiplication 00:46.160 --> 00:46.910 subtraction 00:49.590 --> 00:50.160 division 00:54.330 --> 01:10.250 power or priest for four module module actually which runs the remainder of the division like 13 or 01:10.330 --> 01:11.440 something. 01:11.670 --> 01:12.970 Three one 01:15.820 --> 01:24.830 less than saying 5 equals 3 plus false binary code 3 to the British side. 01:24.840 --> 01:27.130 It will give you a boolean return true 01:30.470 --> 01:46.470 then we had can say X or 2 three y equals to six X's group less than equal to y 01:49.880 --> 01:56.850 just true here x is 3 y six so x is less than y 02:00.040 --> 02:11.470 similarly we have greater than equal to say X equal to or Y equal 3 x is greater than equal to what 02:17.910 --> 02:30.120 then we have equal to x equal to y equals and C X equals Y which is also true 02:33.630 --> 02:40.480 we didn't compare strings as well like x. 02:43.460 --> 02:45.350 And y equal to 02:48.850 --> 02:52.780 x equal equal Y. 02:52.840 --> 02:54.630 Here we have ample capital. 02:56.140 --> 03:00.370 And we are comparing apples Smalley. 03:00.520 --> 03:02.310 So this a statement will return false 03:06.090 --> 03:07.690 and if we make it like this 03:18.400 --> 03:21.160 return true as both are upper cases 03:23.920 --> 03:32.320 similarly like equal to we have not equal to like X equal to why. 03:32.350 --> 03:36.310 Equal to three. 03:37.470 --> 03:50.650 Say X amount equal to what is an article to cite this and give you proof X does not equal to treat then 03:50.650 --> 03:59.800 we have boolean expressions like X equal to true and we'll see not X 04:02.810 --> 04:12.480 so this basically not just reverse if it is true we will give you false if X is false it will return 04:12.840 --> 04:13.170 true 04:16.170 --> 04:27.980 then we have X equal to False y equal to true and we say X and Y. 04:28.200 --> 04:38.870 This will give false to the end operate obviously if any one brand is false it will return false similarly 04:38.870 --> 04:41.640 rehab or operate 04:45.150 --> 04:47.960 like you can say X or Y. 04:47.970 --> 04:57.650 This will return true to the auto breeder or like if any one of breeder operators true it will always 04:57.650 --> 05:01.960 return true. 05:01.970 --> 05:12.670 Now let's see some shortcuts like this say we have equal to to and then we see it equal to into three 05:16.250 --> 05:18.010 the above statement. 05:18.020 --> 05:29.170 This is step we can also write as well to get into equal to three. 05:29.340 --> 05:35.270 So basically this and the this statement is equal in 05:38.520 --> 05:43.980 now we write a simple program to demonstrate expressions by 05:50.210 --> 05:54.510 here we will see length equal to ten 05:57.680 --> 06:07.870 equal to twenty area equal to the length and breadth. 06:11.640 --> 06:18.090 And we'll say a print area. 06:21.570 --> 06:22.020 This 06:28.140 --> 06:30.000 see this program as the 06:36.210 --> 06:36.850 Russian 06:40.960 --> 06:46.060 on this program Ariel area is 200 06:50.660 --> 06:57.890 similarly we have we can see prioritize the operation like if you want to print 07:03.160 --> 07:05.220 a meter is 07:07.990 --> 07:18.960 almost and to learn to read so here. 07:20.810 --> 07:30.900 So here was the interpreter would add length and breadth and then it will be multiplied by two to the 07:30.910 --> 07:36.090 program run the media the editors 07:40.300 --> 07:43.360 10 plus to 30 and to do 60.