List in Python
list python lists are a group of elements that are in a lower order in Python.
Square brackets means a list on each element in the list is separated by commas.
Let's see how you create a list in Python.
First go to brackets and create any name variable for your list as example.
I'm going to name it.
Animals then would equal brackets and then all the elements with the string signs.
For example lion tiger dog care would come ons to separate between the elements.
After that Krink animals and try a terminal that forgot to save the file before trying
as you can see here in the terminal the list of animals printed exactly like what it shows in the code.
All right.
Now if you want to print any specific element form the list such as why you have to type prend animals
brackets and put zero in the brackets which means the first element in a less than ideal method is just
an.
If you want the first character to be then try it on terminal again.
Look at that line is printed well.
So if we went up in that element there which is numbers 3.
Tried this also long term it works well.
This one also.
We also have another way to drain the elements from the end to the first
which is right Brint animals bracket's but minus one as example the brain from the end which is where
I see that term.
So if we change it for mine the it will rain tiger
or minus print line.
Finally you have either way the trend elements from the list I start counting from zero or from the
end by minus 1.
That's it for now.
Thanks for watching.