All language subtitles for 11. Python structures WHILE

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
fr French Download
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
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:12,570 --> 00:00:19,680 I am well and welcome in this new video in this video, we're going to talk about the Loop Wayne the 2 00:00:19,680 --> 00:00:28,950 loop line is less important, according to me, true of the loop fork, but sometimes it's very necessary 3 00:00:28,950 --> 00:00:29,550 to use it. 4 00:00:32,400 --> 00:00:42,990 The loop right walk exactly as the loop form, but with the loop form, you tend to pattern that you 5 00:00:42,990 --> 00:00:51,300 want to run the loop in two, for example, here from six to 13. 6 00:00:52,680 --> 00:01:04,440 But in the loop, while you are going to tend to python that you want to run a loop until a condition 7 00:01:04,650 --> 00:01:05,460 is true. 8 00:01:05,790 --> 00:01:16,410 So it is a combination between the condition as if and the loop for, but it is really easy to use. 9 00:01:16,630 --> 00:01:27,270 So while, for example, it is lower or equal to 15. 10 00:01:29,650 --> 00:01:38,590 I will print it, and if I launch this, I will have an error. 11 00:01:38,950 --> 00:01:39,430 Why? 12 00:01:39,880 --> 00:01:50,980 Because you needed to initialize the variable, so I initialize at one. 13 00:01:51,280 --> 00:02:04,960 But as we can see, we have an infinite loop one because I want to show you that there must come a problem 14 00:02:04,960 --> 00:02:08,650 when you work with a while loop. 15 00:02:09,070 --> 00:02:11,890 It is that we've been there. 16 00:02:12,130 --> 00:02:14,680 You can create an infinite loop. 17 00:02:18,130 --> 00:02:28,870 So to fix this issue, you need to increment the viable to one at each step. 18 00:02:29,890 --> 00:02:33,920 And now we have a correct way. 19 00:02:34,140 --> 00:02:45,160 Look, but it is really important to understand that sometimes like for us in the next chapter, we 20 00:02:45,160 --> 00:02:50,290 are going to use the loop right to create an infinite loop. 21 00:02:50,590 --> 00:02:58,180 So it is very important to understand that usually you don't want to have this issue, but sometimes 22 00:02:58,390 --> 00:03:04,230 you want to create this issue to walk with a specific cook. 2224

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