Identifiers and keywords

Identifiers (variable names) can be composed of the 26 characters of the ASCII alphabet (a to z then A to Z), in lower and upper case, the underscore _ and digits (0 to 9).

Note

An identifier can not start with a digit.

Keywords

The following identifiers are reserved and can not be used as variable names:

    and
    as
    assert
    break
    class
    continue
    def
    del
    do
    elif
    else
    end
    export
    for
    if
    import
    in
    loop
    not
    or
    read
    return
    step
    then
    to
    var
    while
    write
    xor