Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
And when and welcome in this new video in this video, we are going to talk about tipple analysts.
In the previous video, we have seen that we can store data in a variable, but we have only seen that
we can store one data in one variable.
But for example, if you want to store.
Many information about one person in one variable, it's not possible with all actual knowledge, so
to do it, we need to use a tipple or a list.
For example, if I want to create a table, it is very simple.
I just have to put all data in parentheses and separate each value by a comma.
The little problem with the tipple is that once we have created portable, we cannot change it.
We cannot add something.
We cannot delete something.
So it can be very interesting sometimes to work with double.
But usually we work with lists.
A list is exactly the same thing.
That tipple, because we need, we can.
So we store many value in one variable using lists.
But later we will can have, for example, no delete, no undue indexing like process, string, etc..
So it is more interesting to work with lists, except for very specific tasks.
So.
To create a list, we do exactly the same thing as before, but to then imitate the list we not use.
Parentheses, but we use brackets
to tell it to Python that it is not a tipple, but at.
So for example, if I want to add.
And no, in the least, I can use the append function to my list.
So and now if I display my list, we can see that this number is in my list.
No, but the append function works only if you want to put a new object one by one if you want, for
example, to add a list.
So if you want to have many object in the same things, we can use this time to extend function.
But we need to put at least as input.
For example, if I put.
We can see that.
No, all lists contain.
This list, plus this number and plus this list, so now we need to talk about indexing.
Indexing in this is exactly the same thing that's for the string.
So, for example, if I want to take the first the value of the list, which is indexing by the value
zero because in Python, we begin to count from zero.
We need to put the name of the lists, then put Aperol brackets and the number of the index that we
want.
If you want to take a specific wrench, we will follow also the exact syntax.
Then the string.
So now, if I want to delete a value in my list, I will use that then up rental, so I put then the
name of the list, I put a pair of rockets.
And now in.
The pair of rocket, we need to put the index of the value that we want to delete.
So if I want to delete the one, I will put zero.
And as we can see, the one as been deleted.
But.
And now we have just seen a list containing members, but a list can contain.
All the type of object, for example, a list can contain Boolean string, et cetera, but it can cause
it can also contain a list.
For example, we can do a list of the list.
So if they create a new list, we can put a list then and then burned, then string, etc. And if I
want to extract only the third list here, I can do it using the indexing.
So we just have to put Z because the first object of the list is this sub list and it is the first object
of the list, so it is indexing by the value zero.
So now if I want to extract the value putting.
We can do it using a double indexation, because as we can see, this first indexation give you give
us the simplest and.
So to extract the 15, we just have to index.
The simplest so we need to do the first indexing on their list.
My list and a double indexing on the sub lists.
Which contained 115.
So now 15 is at the second position in the list, so we need to index by the value one.
So now we have seen a lot of things about toppled and lists, and I will invite you again to play with
all this operation because it is honestly, really important to muster all the patent part to abort
the next chapter.
Because if it's in the next chapter, when we are going to talk about trading and application in Python,
if you're not comfortable with the Python notion, you will be not comfortable with the algorithmic
trading by extension because we need to code.
So I will invite you to play with all the thing that we have seen.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.