All language subtitles for 21. Booleans

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
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
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

All right all right all right.

So up until now we've spent for ever talking about numbers and strings and you're thinking oh God we

have so many more to go through and my head hurts already.

Well you know what I think you're going to really really like this one because this one's really really

short and they're called billions and billions in Python is bull and bull.

Well there's only two options.

A bull can either be true or false.

That's it.

How awesome is that.

You just learned billions so a billion I can assign to let's say my Facebook profile.

I can say Andre or I can say name equals Andre and make sure that we form this into a string and then

I can say bull let's say we're creating an even better social network than Facebook or creating our

own.

And this social network also has the is cool option on your user profile and let's say for now it's

false.

You see over here that's being highlighted now is cool is set to false but all of a sudden I'm thinking

my profile doesn't look good if is cool is set to fall so I'm going to change that.

I'm going to say is cool is now equal to true.

Now my profile has been changed to is cool is true.

Hurray and that's it.

Billions represent this idea of true and false which in programming is kind of like saying 0 and 1 their

logical values.

Right.

There is some logic that we can use and we'll see you when we talk about conditionals in upcoming videos

where billions become really really useful because we can use billions to control the flow of our program

to do something.

If something is true to do another thing if something is false it's a cornerstone of computer science.

And by the way a topic we're going to explore more and more is this idea of using billions to denote

logic.

So for example what do you think a bowl of one converting one two billion would do if I print this and

I click Run I get true in boolean one means true a zero while that equals false and remember we're just

simply converting this integer into a bowling value and a boolean well just either false or true nothing

else.

That's it.

And I can also convert a string that says true into a bully and true.

Again this is something we're going to explore a little bit more when we talk about conditional logic.

But I wanted to make this video nice and short to let you know that hey not all these data types are

as complex as well numbers and strings.

All right.

Nice and short.

I'll see in the next one.

Bye bye.

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