Kurso de Raku / Esencoj / Ripetoj / Uzante repeat
Kvizo — la repeat ripeto
1
Elektu until aŭ while por ĉi tiu programo. La programo ne devus eniri senfinan buklon.
| . | my $n = 0; |
| . | repeat { |
| . | say $n; |
| . | $n++; |
| until | } ␣␣␣␣␣ $n >= 10; |
2
Elektu until aŭ while ankaŭ por ĉi tiu programo.
| . | my $n = 10; |
| . | repeat { |
| . | say $n; |
| . | $n--; |
| while | } ␣␣␣␣␣ $n > 0; |
Kurso navigado
←
Ripetoj / Uzante until
|
Ripetoj / while kaj until kiel modifiloj de deklaroj
→
💪 Or jump directly to the exercises to this section.
Ĉi tiu paĝo estas aŭtomate tradukita per ChatGPT 4o. Originala angla teksto
Tradukoj de ĉi tiu paĝo: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська