Skip to content

Control Flow#

repeat n times#

repeat n {
    # code
}

repeat until condition#

until condition == true {
    # code
}

forever loop#

forever {
    # code
}

if#

if condition {
    # code
}

if else#

if condition {
    # code
}
else {
    # code
}

if elif#

if condition {
    # code
}
elif condition {
    # code
}