Wize

Run Settings
LanguageElixir
Language Version
Run Command
# Definimos el modulo defmodule WizeServices do # Definimos nuestra funcion def solve(nums) do Enum.map(nums, fn(num) -> isWize = rem(num,3) == 0 isServices = rem(num,5) == 0 isWizeServices = (isWize and isServices) if isWizeServices do IO.puts("WizeServices") else if isWize do IO.puts("Wize") else if isServices do IO.puts "Services" else IO.puts num end end end end) end end # Probamos nuestro modulo pasandole un rango que va del 1 - 100 WizeServices.solve(1..100)
Editor Settings
Theme
Key bindings
Full width
Lines