0% found this document useful (0 votes)
91 views6 pages

Getting Loopy: Athirah Siti Hidayati Iqbal

Loops are used to repeat the execution of statements or blocks of code. Examples are provided of maze, bee, and artist loops through code snippets. Loops allow programs to perform repetitive tasks like navigating a maze, simulating bee movement, and creating artistic patterns through repeated execution.

Uploaded by

ainonlela
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views6 pages

Getting Loopy: Athirah Siti Hidayati Iqbal

Loops are used to repeat the execution of statements or blocks of code. Examples are provided of maze, bee, and artist loops through code snippets. Loops allow programs to perform repetitive tasks like navigating a maze, simulating bee movement, and creating artistic patterns through repeated execution.

Uploaded by

ainonlela
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

GETTING LOOPY

Athirah
Siti
Hidayati
Iqbal

CONCEPT OF LOOPS
Loops are used to repeat the
execution of statement or
blocks

EXAMPLES OF MAZE
LOOPS

THE CODE:

EXAMPLE OF BEE LOOPS


Example of bee
loops:-

The code:-

EXAMPLE OF ARTIST
LOOPS

THE CODE:

You might also like