Cursus Raku / Elementa / Ansae / Utendo until
Quiz — until ansa
1
What does this program print?
my $n = 0;
until $n > 5 {
$n++;
}
say $n;
| 6 | Responsum: (: 4, 5, 6 :) |
2
How to make this program to have precisely five iterations?
| . | my $n = 1; |
| 6 5 | until $n == ␣ { |
| . | say $n; |
| . | $n++; |
| . | } |
Cursus navigatio
←
Ansae / Utendo while
|
Ansae / Utendo repeat
→
💪 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 • Български • Русский • Українська