Skip to content

While loops

Like Python while loops, except the 'else' option is not supported.

Usage

def pseudo_fn():
    int i = 0
    while i < 10:
        print(i)
        i += 1