Course of Raku / Essentials / Loops

Exercises: Loops

This section contains 7 exercises.

  1. Squares and cubes in a loop
  2. Factorial
  3. Fibonacci numbers
  4. Echo until enough
  5. Division via subtraction
  6. FizzBuzz in a loop
  7. Digital stairs

Refresh your knowledge

Refer to the contents of this section to find the answers if needed.

  • Loops
    • Using while
    • Using until
    • Using repeat
    • while and until as statement modifiers
    • Three-statement loop
    • Infinite loops
    • for loops
    • Topic variable
    • Postfix form of for

Course navigation

← Conditional checks / Ternary operator   |   Data type conversion →

Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська