Files
not-python/examples/branch.not

14 lines
256 B
Plaintext
Raw Normal View History

check = fn(num) {
if num < 10 {
println("The number is pretty small.")
} elif num < 100 {
println("That number is getting pretty big.")
} el {
println("Whoa! That number is huge!")
}
}
check(1)
check(10)
check(100)