Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Here we go again.
And we do another exercise, so in this exercise, what you are required to do is to develop a recursive
function that receives what it receives.
It receives an integer total.
It also receives two characters.
Character one in character or two.
So these function receives two characters and one integer and one the function should do.
Each should print a sequence of total character once OK, the type of the value of the character one.
And then after the function has printed a sequence of length total, which is also a parameter that
this function receives.
The function should print.
As sequence multiplied by two, meaning two times the sequence that it printed off character one two
times the sequence of character issues.
OK, so it's clear I think the exact an example would be better here.
So if, for example, you receive total equals to three.
And also, you receive Cha one equals two lowercase a and cha cha two equals to lowercase C, then in
this case, why do these functions should print is a sequence of three character once a sequence of
three A's based on the type on the size of the total, and then the function should print a sequence
multiplied by two, which is six right because two multiplied by the sequence of total three multiplied
by two six.
So six characters are still in this case.
This will be C.
Another option, another example will total equals two to cha, one equals to be charged to equal study.
So the printed results should be two times B because total equals two, two and four times D because
total equals to two, and we multiply this sequence by two.
OK, so not a very complicated exercise, but requires some attention and requires your focus.
So please guys, don't move on to the solutions VIDEO.
Try to solve this on your own.
Make the function calls.
Make sure that it prints exactly what you expect and if not, make the necessary adjustments until you
make it right.
Or at least you spend enough time to make sure that, OK, I tried my best.
I'm ready to move on.
All right.
So thank you so much for watching.
Let's start working.
All right.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.