All language subtitles for 6. Type of object Tuple and list

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

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.