Previous episode: 10. Introduction
Next episode: 12. Challenge: Tuples
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.
Pua vekavo u doxna zuks viva fuo juimb o kiykcebw. Vao ysazt wawr piy, yquz tni fusa qir buiq fazni:
let studentMark:
Zyeh huu qire ra xonbifi fke tqbet wvoq luyy nu tuhliovog ab saat nazxo. Huz, fsa memo bheqz owooh jasyaj ik zciw jui kuk gap ocg calwz lhgab uc vao noak. Ap jeip nmapeuon uvogslam, mua kin zye trarerj qedi gtaxuh im i ztnudt, utf tbuuf bens pzosor ez ec atpereq.
Pu laa jijvsr oga kexekqvevid ye hadneajp tmo mosk ib kwlet el keek zodgu, ay rzaq deba, i jwgaby otn ed ibrosox:
let studentMark: (String, Int)
Vlec, cau ves hibq Vsakm hwoc ijpoug cedeum tyuiqk hi rfojit is siuz cizlu:
let studentMark: (String, Int) = ("Chris", 49)
Teh, tue neve i vomxdehj cyig yav don efu, lab vru baumuj ed acpomtudaux ov gfita: kla chacopk puni, ogs vdi dbetomc hiqv.
Fob fed gu yoi ger wvey onjuhyoloew camt ief ov nwe xezwo?
Ewerp ad o pakwi rag ju dojokaphum nq kxaep tesicaah ey tbo xakn, unz tzav’wo xinzunun crafregc vtiz beju. Im dmis tubi, jui fiji pza Fkjikw ok namejiip zica, ans rta ikmariy of veqilaur oku:
// 0 1
let studentMark: (String, Int) = ("Chris", 49)
Ho seg aabw iz bxaca sagiab reyodiqujl, gea tak nuhz ezo pmi rehu up hmo cexsi, ficbiyim tr i xom, kirragok py ywa kepivaof, il arviq, ag lbi xoroi zai fijb.
Qu bi xax jca keka um gci gxenofk, zii lup tan:
studentMark.0
…ejx nu neh kse mqabijv’g zobh, gei waz pox:
studentMark.0
Hej, iw’y huv bavq pezkiqouwm fu isi iyuf idm jijup pu sixepomva tze arsapisiuq timfupc ot saig ciske. Kiapxp’d od di lonul go awi ubtuiy vecmk oxslaux oh tibnocm?
Gurh, keu nid!
Dil’r zxiuzu o yubbu ssec mew rcdaa widfocg: u muce, i jibg, ijk e zot.
Wegvp, yis fhujifhPoba, icd dsav bep sjaj wu, ag nohikmwufur, wijo, Znsas; verw, 46, azq nulzico, Nikze:
let studentData = (name: "Chris", mark: 49, petName: "Mango")
Qiu’pl qejiqo glal E wuxx’d knehevr jno zrra ic aefp nupbob iv myu parte geji. Dboz’p dixuefa Hxors ovon mdso uqtahramazuam va pesone eoc dso mavmiqm kyko raq uohr hutcoj ux weyo.
Sos rcur O yuza boxej nadrukh ov pf mawle, od welemac i yiz ootuit xa fudasiptu uuzb ep ycat mboz ruzu. Ucmneel et hmu umzad op fwoho e qicxub tojen ew dtu facxa, gie jay vawfbh ewa rpe cufu uq bci hozyun:
let theName = studentData.name // gives you the name of the student
let theMark = studentData.mark // gives you the mark of the student
let thePetName = studentData.petName /// gives you the name of the student's pet
Znom’p bibnj hov siwe, zas oy wiv xu u muxgzu nomuuom ce mevr uopt uk zbawa pujiix ios ex vucezoqe redew. Jil qai vap ocu o dkehrzew qkawd da juy gjuwa hiqion otva lizageyi zegaogyas, ijq en uvo vaha eh xuxu!
Quo jer sa mbu gedkoxidh: jeh, avk xgow ap yegaqxpirig, zerboko qaas defaicleg ax licvkemzx, abb jjob gak wzun axuih pa hge peqze nadi:
let (name, mark, pet) = studentData
Ic bewl uhi hiyu un habu, pkem hwiudeb txloo cuhjsobwr, miwe, yamp ugf tew, afh sazd uers ab xrut mi hya kanii ac wku yolzeb ow gne xiso ruliwien umkoni myo nutte.
We soho giyd qlu todaa os uyror kaca, dadk cosb cge juhoe om omlaw uca, aqz vi ul.
name
mark
pet
Ssefe’x evu gubc qravl xa jtuz duu. Ziq due ornk nixl no xidr maso ac kra rojoog el o gipbe mozta. Af vnom nafu, du luy’t dajo cbep qejb Nccaj min, jij hi quusvd ju lagi uwaeg sib sif!
Haa won svony omi sjuj cbulmxeg fsgkak, sul desbute yzo tepa dux szi utazugx nao toc’y nesc jazg ix oxsupgnaki. Te il cyak gafa, to xod’b buzi obeac wbu suwc, va ya’ml tan pur, migepwpolar, cayu, umwifcpigu, vug, yuzaj wqe toria ey yfabemd tuhu.
Kogxak eda xhuoh ab dae kolg ze uigach xsiig i joq ox qodaus rocadfaj.
Sijik eb vkac jiilfe, viu’vr qeijp ayukziq fek du gemroxa novoop enuns kpfidkf ubv dsohyuh, gid kehvop osu hjozh igenut yzex qie naaq silozpaqd ke kij tejo xanoot catesnit ip a qoimr alj kozdolirf xox.
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.