Skip to content

Instantly share code, notes, and snippets.

def astro(this_is_a_variable)
puts "#{this_is_a_variable} is a lucky number."
end
astro = 20
puts this_is_a_variable
def astro(this_is_a_variable)
puts "#{this_is_a_variable} is a lucky number."
end
astro = 20
@Omrika
Omrika / FizzBuzz
Last active August 29, 2015 14:09
for(var i = 0; i <= 20; i++) {
if( i % 3 === 0 && i % 5 === 0 ) {
console.log( "FizzBuzz" );
} else if( i % 3 === 0 ) {
console.log( "Fizz" );
} else if( i % 5 === 0 ) {
console.log( "Buzz" );