Skip to content

Control Flow#

repeat n times#

repeat n {
    # code
}

repeat until condition#

until condition {
    # code
}

forever loop#

forever {
    # code
}

if#

if condition {
    # code
}

if else#

if condition {
    # code
}
else {
    # code
}

if elif#

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

if elif else#

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