Examples

Values

Integers, floats, booleans, bytes and text. Nothing converts on its own.

main (print)

main()
    count = 42            # int
    ratio = 1.5           # float
    flag = true           # bool
    letter = b"n"         # byte
    text = "hello"        # str, a view of bytes
    # Numbers never convert on their own: float(count) says so.
    scaled = float(count) * ratio
    code = int(letter)
    print.line("{count} {ratio} {flag} {code} {text} {scaled}")
42 1.5 true 110 hello 63.0