1 00:00:12,140 --> 00:00:19,130 Hi, everybody, and welcome, and this lecture will discuss practice at Bond to this, and this would 2 00:00:19,130 --> 00:00:21,320 be finalize the basics of this. 3 00:00:21,620 --> 00:00:30,080 And after the next video, we'll discuss Advanced Alice and we will apply advanced manipulations, for 4 00:00:30,080 --> 00:00:36,170 example, adding values into this using index or just using a action and so on. 5 00:00:36,950 --> 00:00:43,190 So before we begin, as always, I'll remind you that it's very important to practice and try to resolve 6 00:00:43,190 --> 00:00:48,080 all the assignments by yourselves and only if you get into trouble, then watch the next video for the 7 00:00:48,080 --> 00:00:48,650 resolution. 8 00:00:49,310 --> 00:00:49,610 All right. 9 00:00:49,610 --> 00:00:50,330 So let's begin. 10 00:00:50,360 --> 00:00:53,790 So, first of all, let's create up. 11 00:00:53,840 --> 00:00:54,200 Sorry. 12 00:00:56,580 --> 00:01:04,950 Let's create a list of cars with the following car brands inside the list and print it out and then 13 00:01:05,100 --> 00:01:10,610 try to pull out that one default last value from the list. 14 00:01:10,620 --> 00:01:17,700 We went over the material in the previous video, right and right after an assignment. 15 00:01:17,700 --> 00:01:24,750 Number three, try using equals sign from comparison operators, which we've already completed. 16 00:01:25,080 --> 00:01:28,110 And please compare using the equals. 17 00:01:28,110 --> 00:01:31,550 Sign the index one from the list. 18 00:01:31,980 --> 00:01:39,130 Just want to remind you that the list starts from index zero, then indexed one, index two and so on. 19 00:01:40,500 --> 00:01:50,880 So just compare the cell number one to the string Toyota and this will bring us a boolean result, meaning 20 00:01:50,880 --> 00:01:54,600 false or true, if these two items are equals or not. 21 00:01:54,630 --> 00:01:57,260 So this will result a boolean result. 22 00:01:57,510 --> 00:02:04,980 So just print out the result right afterwards and assign a number for just create a mixed values list. 23 00:02:05,640 --> 00:02:06,030 All right. 24 00:02:06,040 --> 00:02:11,400 So I didn't mention the type of variables right here because you're already familiar with all of them. 25 00:02:11,820 --> 00:02:17,250 But you would need to decide by yourself when to want to put quotation marks. 26 00:02:17,250 --> 00:02:19,170 For example, this is a name. 27 00:02:19,170 --> 00:02:20,070 It's only letters. 28 00:02:20,070 --> 00:02:28,320 So obviously, once you once you implemented inside the list, you need to apply quotation marks to 29 00:02:28,500 --> 00:02:29,430 make it a string. 30 00:02:29,880 --> 00:02:31,890 And right afterwards it's a number. 31 00:02:31,920 --> 00:02:34,590 So this is an integer and so on and so on. 32 00:02:34,800 --> 00:02:42,510 And the last one I made a comment here without quotation marks, meaning beside them then will obviously 33 00:02:42,510 --> 00:02:43,920 be a boolean. 34 00:02:44,590 --> 00:02:51,360 OK, so after that, an assignment number four, try to print out the values from this list. 35 00:02:51,490 --> 00:02:56,400 Mixed values in the indexes from zero to three, including three. 36 00:02:57,780 --> 00:02:58,220 All right. 37 00:02:58,230 --> 00:03:00,120 So just a quick reminder. 38 00:03:00,120 --> 00:03:08,910 We went over in the previous video that once you use the once you use the boundaries, you pull out 39 00:03:09,030 --> 00:03:09,580 like that. 40 00:03:09,900 --> 00:03:14,360 So the limit here is not included. 41 00:03:14,610 --> 00:03:21,720 So if you want to print out from zero to three, including three, you will need to put, uh, not a 42 00:03:21,720 --> 00:03:24,210 three number in the brackets. 43 00:03:24,360 --> 00:03:24,800 All right. 44 00:03:25,260 --> 00:03:26,240 Just like we can't. 45 00:03:27,000 --> 00:03:28,380 And all right. 46 00:03:28,390 --> 00:03:34,810 So afterwards, take this list and print out value index in index six. 47 00:03:35,820 --> 00:03:44,310 So here I would like to intervene because I usually don't like to give you easy times when we are practicing, 48 00:03:44,310 --> 00:03:48,970 because I want you to practice by yourselves so the material will go into your DNA. 49 00:03:49,410 --> 00:03:53,030 But here I would have to say that this would cause an error. 50 00:03:53,070 --> 00:03:53,390 Right. 51 00:03:53,640 --> 00:03:55,500 We've already went through it. 52 00:03:55,980 --> 00:04:03,200 Once we pull out an index that does not exist because this is index zero, one, two, three and four. 53 00:04:03,420 --> 00:04:05,730 So obviously we do not have index six. 54 00:04:06,840 --> 00:04:15,540 And once we try to pull out this value, it will cause an error and meaning all the code that will go 55 00:04:15,540 --> 00:04:20,150 after this section would not be applied. 56 00:04:20,400 --> 00:04:26,760 It will not initiate because once we have an error in the code, all what comes after is basically it 57 00:04:26,760 --> 00:04:27,470 would not run. 58 00:04:28,050 --> 00:04:30,810 So I made this seventh assignment. 59 00:04:31,050 --> 00:04:36,090 All right, Mark, the resolution of Task six and comment it out. 60 00:04:38,010 --> 00:04:39,260 And how do you do it? 61 00:04:39,290 --> 00:04:44,520 You just market as I do it right here and then the control and backslash button. 62 00:04:44,580 --> 00:04:46,350 This will cost the following thing. 63 00:04:46,710 --> 00:04:55,290 For example, I'm having text once you mark all all that and you put once you mark all that and apply 64 00:04:55,290 --> 00:05:02,770 control backslash, you will see this sign comes before your text and text will be commented out. 65 00:05:02,770 --> 00:05:06,720 So all at once you run the code and the line will be ignored. 66 00:05:07,850 --> 00:05:08,310 All right. 67 00:05:08,320 --> 00:05:14,520 And I will coming to the eighth assignment, which is a bonus and it is a bonus for obvious reason. 68 00:05:14,940 --> 00:05:18,780 And let's go over the assignment to the list from task one. 69 00:05:18,960 --> 00:05:21,950 Add the name Alpha Male as the line item. 70 00:05:22,230 --> 00:05:22,670 All right. 71 00:05:23,010 --> 00:05:29,280 So this material we have not covered yet, it will be covered in previous videos. 72 00:05:29,670 --> 00:05:33,960 And I want you to try to resolve it by going to Google. 73 00:05:34,470 --> 00:05:35,550 And why is that? 74 00:05:35,550 --> 00:05:38,790 Because soon you will become automation developers. 75 00:05:39,990 --> 00:05:44,630 And once a developer wants to study and you think he just goes to Google. 76 00:05:44,640 --> 00:05:47,400 So this is what I want you actually to practice here. 77 00:05:47,670 --> 00:05:50,280 I actually want you to practice how to search in Google. 78 00:05:50,610 --> 00:05:54,960 And I'll just give you a quick can't just go to Google and type in. 79 00:05:55,410 --> 00:06:04,140 Like bettong seats already marked how to add item to list, and then you have many results, you try 80 00:06:04,140 --> 00:06:08,650 to click on one of the first ones and try to find the resolution for that. 81 00:06:09,300 --> 00:06:09,680 All right. 82 00:06:10,020 --> 00:06:11,030 So that's about it. 83 00:06:11,040 --> 00:06:17,250 You guys try to resolve all these assignments by ourselves and see you in the next video.