Created
December 9, 2014 14:16
-
-
Save imranismail/81da5e84306f7165d134 to your computer and use it in GitHub Desktop.
Anonymooooose Llama
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def anonymous_llama(min, max) | |
for i in min..max | |
if (i % 3 == 0) | |
puts "Anonymous" | |
else | |
puts i | |
end | |
if (i % 5 == 0) | |
puts "Llama" | |
end | |
if (i % 3 == 0 && i % 5 == 0) | |
puts "AnonymousLlama" | |
end | |
end | |
end | |
anonymous_llama(1, 100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment