All language subtitles for 1. Day 4 Goals what we will make by the end of the day

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: 0 1 00:00:00,520 --> 00:00:03,610 Hey guys, welcome back to 100 Days of Code. 1 2 00:00:03,910 --> 00:00:05,650 Today is day 4, 2 3 00:00:05,860 --> 00:00:10,060 and we're going to be focusing on randomization in Python, 3 4 00:00:10,420 --> 00:00:12,850 and we're going to be learning about Python lists. 4 5 00:00:13,270 --> 00:00:17,590 Now randomization in any sort of programming language is really, 5 6 00:00:17,590 --> 00:00:20,770 really useful because if we want to create a game, 6 7 00:00:20,770 --> 00:00:24,040 if we want a program to do something different each time, 7 8 00:00:24,400 --> 00:00:27,730 then we need to introduce a little bit of randomness, right? 8 9 00:00:28,120 --> 00:00:32,380 So we're going to be looking at using the random module in order to achieve 9 10 00:00:32,380 --> 00:00:35,050 this. And by the end of today, 10 11 00:00:35,080 --> 00:00:39,640 you will have learned enough to be able to build this Rock-paper-scissors game. 11 12 00:00:40,150 --> 00:00:45,150 So it starts out asking you, the user, type 0 for rock, 1 for paper or 2 12 13 00:00:45,970 --> 00:00:49,450 for scissors. So I'm going to go forward with 0 for rock. 13 14 00:00:50,080 --> 00:00:54,160 And it shows me using ASCII art that this is what I chose, rock. 14 15 00:00:54,610 --> 00:00:59,500 And then the computer chose scissors and rock beats scissors. So I win. 15 16 00:01:00,010 --> 00:01:02,230 Now you can run this as many times as you want. 16 17 00:01:02,620 --> 00:01:06,460 If I choose paper and the computer chooses rocks, then I win. 17 18 00:01:06,760 --> 00:01:10,390 If I choose paper and the computer chooses paper than it is a draw. 18 19 00:01:10,960 --> 00:01:15,160 But if I choose paper and the computer chooses scissors, then I lose. 19 20 00:01:15,610 --> 00:01:17,140 So this is a pretty simple game, 20 21 00:01:17,590 --> 00:01:20,710 but we're going to get the computer to play this game with us. 21 22 00:01:20,890 --> 00:01:25,840 And we're going to do that by learning about randomization, lists and a whole lot 22 23 00:01:25,840 --> 00:01:27,190 more. I hope you're ready. 23 24 00:01:27,520 --> 00:01:31,600 And once you are, then head over to the next lesson, and let's get started. 2376

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