Skip to content

@j1n3l0 /hello.io
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
f := method(n,
fizz := n % 3 == 0;
buzz := n % 5 == 0;
if(fizz or buzz, if(fizz and buzz, "fizzbuzz", if(fizz, "fizz", "buzz")), n)
)
list(1,3,4,5,6,7,9,10,12,13,15) map(n, f(n))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.