All language subtitles for 7. Challenge 2 - Finding Maximum Index in Array

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
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 Download
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:00,210 --> 00:00:06,300 So this challenge is very similar to the previous one, except two minor changes. 2 00:00:06,540 --> 00:00:13,200 The first one is that now we want to read the numbers from the user to read the digits instead of just 3 00:00:13,290 --> 00:00:16,590 initializing these array that we've created previously. 4 00:00:16,740 --> 00:00:19,080 You already know how you can do it, right? 5 00:00:19,860 --> 00:00:25,080 Simply by declaring an array of size, let's say seven, as we've done previously. 6 00:00:25,590 --> 00:00:33,270 And then just using the input function to read every digit from the user and put it inside this array. 7 00:00:33,420 --> 00:00:40,020 And also another change is that instead of finding the maximum value like we've done in the previous 8 00:00:40,020 --> 00:00:47,850 challenge, we are going to find and print the index, the actual location of the maximum value in these 9 00:00:47,880 --> 00:00:48,840 given array. 10 00:00:49,020 --> 00:00:52,020 So we are not interested in the value itself. 11 00:00:52,080 --> 00:00:59,610 Like in this example is just nine, but rather we are interested in leads location with where it resides 12 00:00:59,610 --> 00:01:04,120 within this array, its index, which in this case will be just four. 13 00:01:04,220 --> 00:01:04,560 Right. 14 00:01:04,770 --> 00:01:08,220 The index of the maximum value, the maximum value is nine. 15 00:01:08,490 --> 00:01:11,040 But its index is just four. 16 00:01:11,190 --> 00:01:14,670 So once again, previously we found down the maximum value. 17 00:01:14,700 --> 00:01:18,900 And now we want to print out to the screen the index of that value. 18 00:01:19,430 --> 00:01:25,920 A similar exercise with the digits from your phone number, except for the two changes we've just added. 19 00:01:26,310 --> 00:01:28,140 So let's give it a try, shall we? 1972

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