Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View hello.io
1 2 3 4 5 6
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.