Lesson 11 of 15 · +130 xp

Case

Pattern match.

Explained simply

Your task

Write: case x do; 0 -> "zero"; _ -> "other"; end

case.elixir
← Back