1 2 3 4 5 6 7 8 9 10
import gleam/io import gleam/int pub fn main() { let result = case int.random(5) { 0 -> "It's zero!" other -> "It's " <> int.to_string(other) } io.debug(result) }