All language subtitles for 017 Removing Individual Records_en

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

Original subtitles

In this section, we're going to take care of our last method down here, the remove card method.

So the idea behind this method is that we're going to try to remove one particular card from our deck.

I can't really imagine where we would use this method in a real card game, but I'm sure there's some

card game out there where you have to, like, find the ace of spades or something and take it out of

the deck.

Now, for this method, we're going to do things just a little bit differently.

So here's what's going to happen.

We're going to have you take a shot at putting the remove card method together.

OK, so you're going to take a shot at it on your own using nothing but the code that we've already

got over here and dart pad and the list class reference that we've been looking at quite a bit so far.

So I'm going to give you a couple of little tips here just to get you started and then I'm going to

cut you loose.

So the first thing I want to point out here is inside of the last class documentation, if you scroll

down inside the documentation.

So I'm going to go down, down, down again until I find the method section.

I think I just passed it.

So here's the method section.

And I want to point out one particular method to you.

The remove where method right here.

I want you to take a look at this method right here and I don't know, just kind of get a sense of how

it works.

The removed method expects you to pass in a function to it.

That function will then be executed with every element within a list.

And then if that function returns true, the element will be removed.

But if it returns false, the element will stay around.

And so we've already worked on a very similar function, very similar in nature to this one right here.

You'll recall we put together our.

Cards with suit to function right here.

So this was very similar in nature, but this was where and maybe, I don't know, maybe you might want

to take a look at remove wear right here.

OK, so then the other thing I want to show you very quickly is back inside of Darte Pad, I really

expect that you're probably going to add a new method to our class.

So maybe a method right here.

Maybe you're going to call that method something like remove card, I don't know, it's totally up to

you and chances are that when we call remove card, we're going to have to pass in both the suit and

rank of the card that we want to remove.

So whereas back on the.

Tarred with suit method that we passed in right here, or the method that we created right here, we

were only passing in the suits.

I kind of expect that for a remove card method, we'll have to pass in both a suit and a rank to specify

what card we're trying to remove.

OK, so I want you to give it a shot, do the best job you can.

If you get stuck, don't sweat it.

We're going to go over a solution together right in the next section.

So I'll see you in just a minute.

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