Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save FrancesFisk/c344b10278148b443d86b9b4da5e65c8 to your computer and use it in GitHub Desktop.

Select an option

Save FrancesFisk/c344b10278148b443d86b9b4da5e65c8 to your computer and use it in GitHub Desktop.
A saved mob programming session with Learn Teach Code!
// CODE CHALLENGE:
// Fizz buzz: print 1 to 1000, but replace every multiple of
// 3 with "fizz", every multiple of 5 with "buzz",
// and any multiple of 3 AND 5 with "fizzbuzz"
// TO RUN THE CODE:
// Copy-paste it into something like REPL.it and test it =P
// in JavaScript:
for(var count=1; c<1000; c++){
console.log(c);
}
{% for i in superheroes %}
{{superheroes}}
{% endfor %}}
count = 1
while count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment