Corso di Raku / Fondamenti / Tipi di dati associativi / Hash annidati
Quiz — Hash multilivello
For the given data structure:
my %statistics =
1900 => {
Jan => 500,
Feb => 550,
},
2000 => {
Jan => 1230,
Feb => 1245,
};
Select the lines which provide correct access to the data item for February of 1900.
say %statistics<1900><Feb>; | ||
say %statistics{1900}<Feb>; | ||
say %statistics{1900}{Feb}; | ||
say %statistics{'1900'}{'Feb'}; |
Navigazione del corso
← Tipi di dati associativi / Hash | Tipi di dati associativi / Interpolazione di hash →
💪 Or jump directly to the exercises to this section.
Questa pagina è tradotta automaticamente con ChatGPT 4o. Testo originale in inglese.
Traduzioni di questa pagina: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська