Cursus Raku / Elementa / Ansae / for ansae

Intelligendo for ansa

Pro singulis trium programmatum infra, dic quot lineas imprimant.

1

for 1..10 {
    say 'Linea';
}
10 Tua responsio:  (: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 :)

2

for 1..10 -> $n {
    say 'Linea';
}
10 Tua responsio:  (: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 :)

3

for 1..10 -> $a, $b {
    say 'Linea';
}
5 Tua responsio:  (: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 :)

Cursus navigatio

Ansae / Infinitas ansae   |   Ansae / Topic variabile


💪 Or jump directly to the exercises to this section.

Haec pagina automatice translata est per ChatGPT 4o. Originalis Anglicus textus

Translationes huius paginae: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська