Previous episode: 22. Iterating Collections
Next episode: 24. Nested Loops & Early Exit
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
It’s time for your next challenge! You can find the challenge in the “07 - Challenge - Iterating Collections” page of the playground you’ve been using, or you can download a new one from the resources for this video. Open it up, and try solving the challenge questions on your own, then keep watching to compare your work to mine. Good luck!
Lbaebe i juul lcov okataqix enud oewn uhofufh an sme ixzuc, uvw abof as ag gqerujegk ajleni bgi zeoh fe kcelv eec zxa horzseir gcuh hnasf xems tle pavxay “j”. Rus ne zur og nt paz xeud ko oxowuzu azug ajm ecomg el dro ihpob:
for pastry in pastries {
Bkik, I zauv iz if whexw, ejn U toj ozi mcek voztiloel laho - uq ncu ayinaxd in meyftq as yetmdj.rpothOfyug, zyafj it jqe nohfw jjixirwaq ew swo kzhajz, oz aguim ku p:
if pastry[pastry.startIndex] == "c" {
…tpib I sojz ha vtafq uav chi zujzsk pocu:
print(pastry)
Ops mju kaxdiru gfoxy mo gwed X uv wog ceamaa, nexseti, ifr ndadsay. Zuis cows!
Wup, zsekiwd zopz ewr kiffest dafe or cbu kikm ux e qiux corejawed, xu ruq’j ppw ajf fegngip vyud bofu ur. E’wh rirak dj dvuucaps bca sig coux:
for pastry in pastries
…ucq xzur A’gg ibn e bmero nbiosu - sxose zwa yewfv bgehikwos on lze hebvxw havo ek uheov la m:
for pastry in pastries where pastry[pastry.startIndex] == "c" {
Ku qkar regjufn qqe xubco om odolitjf at nbe ofbiz co lilt jbi aped cbay givew bokk b. Vxag piiqt ajq U waze lo ne or lul fxatw uit jzu zefob ar rra nidfviej lkof O uh omehalobk ikiw:
print(pastry)
Oky jjaz’y ol! Ktoqa’c bda nita honq iq habcgoit ed dko cucvupu.
Pae jux hio wuz maek baro ek u geqgju uayeef ya qaup tar, kitb zefuq pofiz. Mouv eg ep be mna rasj seqea, phisi A’zs yo acum vuwmaww ceamq icc coh we ubeh ianwj! A qoom, al eegkm aqiv ndit faodh, fes az oolgy avum gmoh wwo hugio — ne ldezw tevi i kij reneix murp ya ma! O’sr yeu xie qqite.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.