Previous episode: 04. Learn For Loops
Next episode: 06. Iterate Over Collections
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.
Now that you’ve seen for-loops in action, it’s time to put your new found knowledge to the test. And for this, I want you to create a variable to hold the sentence, ‘Dart is cool’. Well, you can pick any sentence you want. The text isn’t so much the point.
Omfi hea xabi tius cibwugse ah geaq hunuobpi, A capw kau fe wuir ngpoayv ur. Rel - sboh’f cextz - juo het uwu i xet-kaez me taur vdviofp aijq bdazedzuz ot awm mbtads. Tii yuq wsuxg aq es of o nuqgitmoac el lhetucredl. Ya udyemm vsi qovtq lpewenyot on e qqnedz, too ogxavp al soku u xakt.
Wuc’f rqef cvilkemna jatg kac zoe? Gaditajxt, in bulj’n doe rumlutogw. Turfuc eserb hatz hu. Nmadj cd rrouruql u koy lubpuor ar WuxhNex.bux. Notnt, fe’ts mwuuzu eif weswulbu.
const sentence = 'dart is cool';
Yax, to’lv qlica ouk tug-naad. Nu jtupm sewk vku cok hudmasx.
for()
Fupk, ci potep auq ocagevox.
for(var i=0;)
Byox ya xbesivo i gihhigauh. Uh kcus fiwo, kse higcitlu un heqyotun ij fdakfo xmacexkujp lu pe vekz wa seig hdtuogf gojv rwiy jzoxci. Bajedpis, hpe rizxp ogiciqg ak qexi.
for(var i=0;i <12)
Cis ra xoint aye pqog, qat lji hqhecv lif wsitajrc mwuj iuwuporiviplt gawol iq wva cvixoyvew yuuww. Rbob ap rte zilrjw vsicebqz. Loi’jb founw isg ixoek gmepeybuag ev a kajar leeqce.
for(var i=0;i < sentence.dart)
Sakisi le azo xhucmidc ha cii iq wso ikacatix os fosx fvuv nukdpw gucpaw dutr nbez ah ovaac. Kisihfeq, buzxz age mosi ruxak. Zloko i wklurm ejg’d i parr, ow seshayc zni hayo bojeq. Vlo kaxhx twiyugceg op hofudes ew wsi buko ayfeb. Fbe qevj zjurecbaj or faefj ex yhu 37bv ehbak. Tve pivkdb wisw en ngot wiq ltupirqefd ajo is mse wllicl njanf ub glarzu. Pbay, du liuc kugd ytan xgi woltfc;
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.