1 00:00:00,450 --> 00:00:06,050 Hello and welcome to this lecture of our course. 2 00:00:06,230 --> 00:00:11,570 We will going to talk about this invasion list. 3 00:00:11,590 --> 00:00:16,740 Our collection of data values stored as a list. 4 00:00:16,760 --> 00:00:21,280 And values are separated by a comma to the clear list. 5 00:00:21,500 --> 00:00:22,960 Your code as follows. 6 00:00:24,260 --> 00:00:34,440 We use the square brackets open and close hoeing the clearing lists list to name equal multiple values 7 00:00:34,560 --> 00:00:45,980 are separated by a comma use our core colors for example equal of any square brackets right. 8 00:00:46,010 --> 00:00:48,940 Yellow black blue closed. 9 00:00:48,980 --> 00:00:50,610 Square brackets. 10 00:00:50,990 --> 00:00:53,650 Lists commons and bison. 11 00:00:53,710 --> 00:01:02,440 Use our car color red yellow black blue to assign used car colors from index 1 to 3. 12 00:01:02,500 --> 00:01:05,480 And print user car colors. 13 00:01:05,590 --> 00:01:13,420 Use our cars the colors equal user called colors from 1 to 3 characters. 14 00:01:13,420 --> 00:01:23,730 Brent use the core colors yellow and play to modify the second item and print sub digit list use out 15 00:01:23,730 --> 00:01:29,750 car colors correct at 1 or element. 16 00:01:29,760 --> 00:01:40,990 No one will give us green print user cars colors red green black blue to event. 17 00:01:41,020 --> 00:01:44,170 A new item to use a cars colors and Brent. 18 00:01:44,170 --> 00:01:45,140 Celeste. 19 00:01:45,260 --> 00:01:46,930 Use our cars colors. 20 00:01:46,990 --> 00:01:49,660 Event of embraces. 21 00:01:50,170 --> 00:01:53,140 Single codes of single codes. 22 00:01:53,140 --> 00:01:56,600 White gloves on single codes. 23 00:01:56,770 --> 00:01:58,230 Close parenthesis. 24 00:01:58,250 --> 00:02:03,010 Brent user cars colors rect ream black. 25 00:02:03,030 --> 00:02:04,280 Blue white. 26 00:02:04,280 --> 00:02:08,100 To remove the fifth item from user cars. 27 00:02:08,260 --> 00:02:09,550 Colors and prints. 28 00:02:09,580 --> 00:02:11,140 The rest we will use. 29 00:02:11,150 --> 00:02:12,790 Then daily. 30 00:02:12,840 --> 00:02:14,110 Use our car colors. 31 00:02:15,310 --> 00:02:18,320 For item number 4. 32 00:02:19,300 --> 00:02:28,800 Item has index A4 which is a fifth element or is a website print user cars. 33 00:02:28,870 --> 00:02:32,700 Colors Red Green Black Blue. 34 00:02:32,810 --> 00:02:36,330 Function or lens function returns. 35 00:02:36,340 --> 00:02:41,060 How many elements are in the list. 36 00:02:41,070 --> 00:02:50,980 Users cars speed equal open square brackets hundred fifty Thirty. 37 00:02:51,280 --> 00:03:05,290 Twenty one hundred twenty close square brackets Len users cars colors user Len users cause speed equal 38 00:03:05,680 --> 00:03:09,390 5 we will get 5 max. 39 00:03:09,400 --> 00:03:14,670 Function return is the greatest element of the list. 40 00:03:14,730 --> 00:03:17,360 Users cars color is B. 41 00:03:18,620 --> 00:03:26,740 It 50 30 20 120 Max users cause speeds. 42 00:03:26,960 --> 00:03:34,100 We will get one hundred twenty men function. 43 00:03:34,390 --> 00:03:37,780 Ten is the smallest element in the list. 44 00:03:37,910 --> 00:03:41,690 The cause speeds equal of him. 45 00:03:41,920 --> 00:03:46,140 Square brackets 150 70 twenty one handed. 46 00:03:46,140 --> 00:04:00,760 Twenty close square brackets separated by comma as we explained men are M. users cause colors we will 47 00:04:00,760 --> 00:04:12,120 get twenty sought in function retain is a copy of a list order from the smallest to largest users cause 48 00:04:12,420 --> 00:04:21,090 speeds equal of in square brackets one hundred fifty thirty twenty one hundred twenty severity by a 49 00:04:21,090 --> 00:04:24,790 comma then close square brackets sorted. 50 00:04:24,830 --> 00:04:34,060 Users cause speeds twenty thirty fifty one hundred one hundred twenty some sum function returns the 51 00:04:34,060 --> 00:04:36,390 sum of elements in the list. 52 00:04:36,400 --> 00:04:44,680 Users it beats equal open square brackets one hundred fifty seventy twenty one hundred twenty six edited 53 00:04:44,680 --> 00:04:55,660 by a comma closes square bracket some users cause speeds will equal three hundred twenty Bob. 54 00:04:55,710 --> 00:05:03,920 Function what function we we use this function to remove the last element from a list and return it. 55 00:05:04,510 --> 00:05:14,840 Users cause speeds equal one hundred fifty thirty twenty one hundred twenty glues the list then Bob 56 00:05:15,150 --> 00:05:20,910 the list after bombings the list we will get one hundred twenty. 57 00:05:20,910 --> 00:05:30,900 We will try our lines as good in job it on notebook use our cards the color equal red yellow black blue 58 00:05:31,480 --> 00:05:36,710 note to Brent second item the list and Brent is updated list 59 00:05:39,590 --> 00:05:47,090 will give us yellow note that the 5 second item in list and granted the visit list we will assign the 60 00:05:47,090 --> 00:05:56,120 same list is then assign terms of from on to use up call colors equal use of car colors one two three 61 00:05:56,120 --> 00:05:59,020 item we will get yellow and black. 62 00:05:59,180 --> 00:06:08,110 Use our car color not event why use a car colors to Brent resistance yellow black white use our cars 63 00:06:08,520 --> 00:06:11,180 these 150 safety. 64 00:06:11,330 --> 00:06:18,740 Twenty one hundred twenty two call grades and instead of this list Len Bennett as it our cause it needs 65 00:06:19,460 --> 00:06:30,950 close parentheses we will get five users cars speeds 150 searches twenty one hundred twenty max of this 66 00:06:31,460 --> 00:06:39,170 Max function of this user users cars IDs we will get one hundred twenty. 67 00:06:39,200 --> 00:06:47,810 The maximum element of our list users cars speed equal one hundred fifty thirty two energy one hundred 68 00:06:47,820 --> 00:06:48,700 twenty. 69 00:06:48,730 --> 00:06:52,220 The much of this list is twenty 70 00:06:55,360 --> 00:07:09,990 sorted to sort the list we will get from the minimum to the maximum elements 20 30 50 100 120 user cars 71 00:07:10,080 --> 00:07:18,050 speeds to calculate the sum of this list some of them but it does it. 72 00:07:18,050 --> 00:07:28,880 Users the cars deeds close parentheses we will get 320 user cars speeds equal how many square brackets. 73 00:07:28,880 --> 00:07:31,610 One hundred fifty Thirty. 74 00:07:31,610 --> 00:07:35,210 Twenty one hundred twenty two bob this list. 75 00:07:35,240 --> 00:07:43,630 Users cars speed the book we will get one hundred twenty which is the last element in our list. 76 00:07:43,800 --> 00:07:45,300 Thank you for watching. 77 00:07:45,300 --> 00:07:46,580 See your next lecture.