All language subtitles for 10. Tuples

af Afrikaans
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
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
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,120 --> 00:00:07,580 OK let's briefly talk about tuples now tuples are like lists but they're not like lists. 2 00:00:07,590 --> 00:00:12,900 So lists are what we call mutable meaning that they can be changed. 3 00:00:12,990 --> 00:00:14,910 Now tuples tuples are immutable. 4 00:00:14,910 --> 00:00:16,670 They can not be changed. 5 00:00:16,770 --> 00:00:21,500 Now for this course this is the last time you're going to be seeing tuples. 6 00:00:21,510 --> 00:00:25,750 But it's important to define what they are so that you know them you know how to identify them. 7 00:00:25,950 --> 00:00:30,160 And they're just in the back of your mind as Hey I know what a tuple is. 8 00:00:30,160 --> 00:00:33,440 And that thing is immutable I can't change it once I have it. 9 00:00:33,450 --> 00:00:34,890 So let's take a look at a tuple. 10 00:00:35,310 --> 00:00:45,820 OK let's make a new line here and start a comment for you to say tuples do not change. 11 00:00:45,950 --> 00:00:55,030 And also we can put parentheses like this because remember lists have brackets tuples have parentheses. 12 00:00:55,030 --> 00:00:58,120 So we're going to say something like grades. 13 00:00:58,120 --> 00:00:59,740 Now we're going to an item that won't change. 14 00:00:59,740 --> 00:01:12,640 So we're going to define grades here as is A B C D and F which is common for the US grading system. 15 00:01:12,640 --> 00:01:16,190 And this is an example of a tuple. 16 00:01:16,210 --> 00:01:19,300 So again we have parentheses instead of brackets. 17 00:01:19,330 --> 00:01:26,200 Now if we were to go in here and we were to try to do a grades got pop for example and try to remove 18 00:01:26,200 --> 00:01:27,040 one of these. 19 00:01:27,280 --> 00:01:33,280 Not going to be possible or a grade that append we're not going we'll put it something else in here. 20 00:01:33,310 --> 00:01:34,470 This is immutable. 21 00:01:34,480 --> 00:01:35,590 We cannot change this. 22 00:01:35,590 --> 00:01:44,740 Once we have a defined so we can go ahead and print out our grades and we can say print out grades. 23 00:01:44,740 --> 00:01:45,960 It's proud to be. 24 00:01:46,870 --> 00:01:52,540 And that will work and you can see now we printed a B. 25 00:01:52,540 --> 00:01:56,500 So we have similar features or abilities that we did here. 26 00:01:56,530 --> 00:01:58,720 But we cannot change it in any way. 27 00:01:58,720 --> 00:02:03,000 So once we have this defined and set that's it for us. 28 00:02:03,010 --> 00:02:04,360 So this is it. 29 00:02:04,390 --> 00:02:06,310 I just want to quickly show you what a tuple is. 30 00:02:06,310 --> 00:02:09,660 Again we're not going to get into it at all in this course. 31 00:02:09,760 --> 00:02:14,290 But it should be defined and we should know the difference between a list which is mutable versus a 32 00:02:14,290 --> 00:02:16,240 tuple which is immutable. 33 00:02:16,270 --> 00:02:19,480 So in the next video we're going to get into looping. 34 00:02:19,480 --> 00:02:23,770 So we've already cover looping in the bash scripting section of the course but we're going to go ahead 35 00:02:23,800 --> 00:02:28,480 and get into the python version of looping as well and make some more sense of it. 36 00:02:28,510 --> 00:02:30,220 So I will get you over in the next video. 3492

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.