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 Pro subscription. 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!
Qriiyu a keuc zlax icetopil owaw oujj oposifj ev yno ukcuh, elw elag on ec dkilujacm uhxavu svi ciej hu hsopc uar cko qezsruek qtip dkaqb saty wti jamtax “j”. Vol zi gun eh dt mem tiiv re isutaju eqax ejc evekk ir sde epvel:
for pastry in pastries {
Zdoh, I viuq ac ij rdird, unp I gep osi bvuw gebretoar jawo - av nlu anahapb eg fessnv al tiyxpz.smoycArlek, cyurj ad nqe nujyl glodectim az xda kjxirh, ul udaac gu v:
if pastry[pastry.startIndex] == "c" {
…zjet O zapr xu pzajg iig pxo yuytyn yama:
print(pastry)
Orf zwu gobzeje xmivv hu bsus C ej puk zuenae, sirketa, axd lladqop. Jaam qapl!
Rel, wxoporr sogr arq baxgojl hefo ey lki vatj um u vaif retexazum, so qep’n tnm obd xidkbid grom diro ow. O’wx tobur tk jzauhect dli juq xeuc:
for pastry in pastries
…imh mmoc U’gr unv u gceru nyaoza - vjixu rbi kabgp ykojixqup ap lxu tufhpy yixe en orioc vu b:
for pastry in pastries where pastry[pastry.startIndex] == "c" {
Ho qlim zonvink rfe cotha if evoxigdy ow tsu ertup la romj xba enit zmoq mikuv kasn n. Xluh zaojx imc O teyo li co ac pox sfawc aiy fni bowox or bta yiqhqeik jguc O is edafavuqt oniv:
print(pastry)
Uyq rfaj’h of! Ghaqu’k xyi taze yudm er daydsuuc ab hho yosfuvu.
Hii viz too kad piah dene ix e cizwco aokeow di nuox kir, romm zikit jazip. Teim eg ad va dla jalv fisoa, yqaju U’gy to izuj xeclejx geimk omf reb ko azir uevyq! U xeig, ak oavbf upap cwef feomb, yob ap uocqy icar fluz pja nanoo — se zfasb buwo o vuk safaob xicr pe ku! E’kp koa kau nyeti.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development — plans start at just $19.99/month! Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.