Skip to content

Control structures and functions

Photo of DeKUT R Community
Hosted By
DeKUT R C.
Control structures and functions

Details

Control structures are tools that manage the flow of execution in a program. They allow you to make decisions and repeat tasks.

if, else if, else: Perform actions based on conditions.

for loops: Repeat code a set number of times.

while loops: Repeat code while a condition holds true.

repeat loops: Run code indefinitely until manually stopped with break.

break and next: Control loops by exiting early or skipping iterations.

By the end of this session you'll be comfortably able to perform assignments using these functions.
Happy learning!

Photo of DeKUT R Community group
DeKUT R Community
See more events