Hello and welcome to this lecture of our course.
We will going to talk about this invasion list.
Our collection of data values stored as a list.
And values are separated by a comma to the clear list.
Your code as follows.
We use the square brackets open and close hoeing the clearing lists list to name equal multiple values
are separated by a comma use our core colors for example equal of any square brackets right.
Yellow black blue closed.
Square brackets.
Lists commons and bison.
Use our car color red yellow black blue to assign used car colors from index 1 to 3.
And print user car colors.
Use our cars the colors equal user called colors from 1 to 3 characters.
Brent use the core colors yellow and play to modify the second item and print sub digit list use out
car colors correct at 1 or element.
No one will give us green print user cars colors red green black blue to event.
A new item to use a cars colors and Brent.
Celeste.
Use our cars colors.
Event of embraces.
Single codes of single codes.
White gloves on single codes.
Close parenthesis.
Brent user cars colors rect ream black.
Blue white.
To remove the fifth item from user cars.
Colors and prints.
The rest we will use.
Then daily.
Use our car colors.
For item number 4.
Item has index A4 which is a fifth element or is a website print user cars.
Colors Red Green Black Blue.
Function or lens function returns.
How many elements are in the list.
Users cars speed equal open square brackets hundred fifty Thirty.
Twenty one hundred twenty close square brackets Len users cars colors user Len users cause speed equal
5 we will get 5 max.
Function return is the greatest element of the list.
Users cars color is B.
It 50 30 20 120 Max users cause speeds.
We will get one hundred twenty men function.
Ten is the smallest element in the list.
The cause speeds equal of him.
Square brackets 150 70 twenty one handed.
Twenty close square brackets separated by comma as we explained men are M. users cause colors we will
get twenty sought in function retain is a copy of a list order from the smallest to largest users cause
speeds equal of in square brackets one hundred fifty thirty twenty one hundred twenty severity by a
comma then close square brackets sorted.
Users cause speeds twenty thirty fifty one hundred one hundred twenty some sum function returns the
sum of elements in the list.
Users it beats equal open square brackets one hundred fifty seventy twenty one hundred twenty six edited
by a comma closes square bracket some users cause speeds will equal three hundred twenty Bob.
Function what function we we use this function to remove the last element from a list and return it.
Users cause speeds equal one hundred fifty thirty twenty one hundred twenty glues the list then Bob
the list after bombings the list we will get one hundred twenty.
We will try our lines as good in job it on notebook use our cards the color equal red yellow black blue
note to Brent second item the list and Brent is updated list
will give us yellow note that the 5 second item in list and granted the visit list we will assign the
same list is then assign terms of from on to use up call colors equal use of car colors one two three
item we will get yellow and black.
Use our car color not event why use a car colors to Brent resistance yellow black white use our cars
these 150 safety.
Twenty one hundred twenty two call grades and instead of this list Len Bennett as it our cause it needs
close parentheses we will get five users cars speeds 150 searches twenty one hundred twenty max of this
Max function of this user users cars IDs we will get one hundred twenty.
The maximum element of our list users cars speed equal one hundred fifty thirty two energy one hundred
twenty.
The much of this list is twenty
sorted to sort the list we will get from the minimum to the maximum elements 20 30 50 100 120 user cars
speeds to calculate the sum of this list some of them but it does it.
Users the cars deeds close parentheses we will get 320 user cars speeds equal how many square brackets.
One hundred fifty Thirty.
Twenty one hundred twenty two bob this list.
Users cars speed the book we will get one hundred twenty which is the last element in our list.
Thank you for watching.
See your next lecture.