WEBVTT 00:00.270 --> 00:03.570 As you already starting to understand our way of it is different. 00:03.690 --> 00:05.260 We don't want to rush into things. 00:05.280 --> 00:10.080 Tell you how to use the four main command lines in hopes that you are transformed in a professional 00:10.080 --> 00:13.940 developer and then stop the course there are steps that are kind of the doorbell. 00:13.950 --> 00:17.140 Most people think of an eight year old dig up problem in their hands. 00:17.250 --> 00:20.200 They don't have a clue how to combine all of this command. 00:20.220 --> 00:23.700 You know to make it work even if they haven't had the kit the code. 00:23.700 --> 00:25.650 They can't do the debugging part. 00:25.650 --> 00:28.830 So they stopped dying because they believe that this is their fault. 00:28.890 --> 00:30.960 They don't have the capacity to do it. 00:30.960 --> 00:36.120 The different approach here is that we don't just throw out command lines but we give it time to solve 00:36.120 --> 00:36.990 different problems. 00:37.050 --> 00:38.720 And to be let in in standing. 00:38.760 --> 00:44.270 So the project for today is to create a program that can identify your phone number is odd or even. 00:44.280 --> 00:48.190 Again this is the time to post the video and try to find the solution by yourself. 00:48.270 --> 00:52.330 Okay I call that to succeed to solve the problem in any of the cases. 00:52.350 --> 00:54.220 Let's start to analyze it first. 00:54.250 --> 00:56.140 The dear simple well you divide. 00:56.210 --> 00:58.860 Number still you don't have a reminder. 00:58.860 --> 01:03.630 If you do the same with her not number you have in mind there are equal to 1. 01:03.660 --> 01:11.670 For example if we divide 9 with two we will have four as I reside in one outside of mindo when we divided 01:11.670 --> 01:13.820 20 with two. 01:13.920 --> 01:17.060 We will have 10 so he's out in zero. 01:17.070 --> 01:19.930 As a reminder we need to calculate a reminder. 01:19.950 --> 01:26.550 If it is 1 The number is odd indeed it is zero the number is even if we remember for the first part 01:26.550 --> 01:27.320 of the course. 01:27.330 --> 01:30.600 The perfect solution to this is the model as we have already analyzed. 01:30.600 --> 01:35.270 You can write more dialogue with zipper send symbol and you will get that in mind. 01:35.340 --> 01:37.090 Let's start to develop this in court. 01:38.140 --> 01:40.520 First we will use the input function. 01:40.720 --> 01:44.470 So number is equal to input. 01:47.090 --> 01:54.930 No this function lydda uses are to give and number so given number 5. 01:55.180 --> 02:00.030 Okay then we need to find the mod saw mod see quote tool. 02:00.200 --> 02:03.000 No more do that too. 02:03.060 --> 02:08.810 No discipline I do remember that the number is not in India to reform because we take this character 02:08.810 --> 02:09.650 from their input. 02:09.680 --> 02:13.220 So here we need to transform this into our editor. 02:13.280 --> 02:14.500 No disrelish symbol. 02:14.510 --> 02:30.850 So if mod is equal to zero we will print that with have an even number else see if MOND is equal to 02:30.860 --> 02:31.710 one. 02:31.730 --> 02:36.280 We will print also for this house. 02:37.010 --> 02:42.470 We will print that we have an odd number. 02:42.530 --> 02:51.080 Let's see if this works if we use the 10 we will get an even number here and differing views. 02:51.110 --> 02:52.210 19. 02:52.370 --> 02:56.840 We will get an odd number right here so this is correct. 02:57.290 --> 02:59.460 So we can create a slightly better program. 02:59.480 --> 03:06.180 We are sort of at the model of secede or order one so if models are easy at all we will go there and 03:06.200 --> 03:12.590 in every other case we will go there so we can use the ls command line. 03:13.280 --> 03:18.670 Again we can use 19 correct and 14 correct.