Cursus Raku / Elementa / Positionalia data genera / Quoting catena array
Quiz 2 — Agnoscens listae
Indices interdum confundere possunt. Te ipsum exercere debes ut indices et arrays distinguas.
1
Quid sequens programma imprimit?
my @data = [
<France Italy Germany>,
<Canada USA Mexica>,
<Japan China India>,
];
say @data[0].WHAT;
(List) | Responsum: (: (Array), (List), (Str) :) |
2
Et quid de hoc programmate?
my @data = [
['France', 'Italy', 'Germany'],
['Canada', 'USA', 'Mexica'],
['Japan', 'China', 'India'],
];
say @data[0].WHAT;
(Array) | Responsum: (: (Array), (List), (Str) :) |
Cursus navigatio
← Positionalia data genera / Listae | Positionalia data genera / Subscribendo intervalla →
💪 Or jump directly to the exercises to this section.
Haec pagina automatice translata est per ChatGPT 4o. Originalis Anglicus textus
Translationes huius paginae: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська