Skip to content

Casting

A value can be converted to another type using the standard library functions for type conversion. These can be found in standard-library/built-in.

elk
let x = int(input("Enter a number"))
let indices = list(0..10)
let x = int(input("Enter a number"))
let indices = list(0..10)