13 lines
250 B
Elixir
13 lines
250 B
Elixir
x = 'lions, tigers, and'
|
|
y = 'bears, oh my!'
|
|
z = '(from the "Wizard of OZ")'
|
|
|
|
[x, y, z] = Enum.sort([x, y, z])
|
|
IO.puts "x = #{x}\ny = #{y}\nz = #{z}\n"
|
|
|
|
x = 77444
|
|
y = -12
|
|
z = 0
|
|
|
|
[x, y, z] = Enum.sort([x, y, z])
|
|
IO.puts "x = #{x}\ny = #{y}\nz = #{z}"
|